-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
Description
I'm working on testing out the new context-aware changes on the SwaggerProvider PR here, and wanted to make sure I was doing things correctly.
I ran into a small problem with the way the SwaggerProvider does its testing. I need to be able to create a testing TypeProviderConfig, which I'd like to do with ProvidedTypesTesting.Testing.MakeSimulatedTypeProviderConfig, but that whole module is marked internal so it's not available across the module boundary.
Is there a more-supported way to test TP generation?
Repro steps
Please provide the steps required to reproduce the problem
- Clone the SwaggerProvider PR linked above
- Run
build.cmdorbuild.sh - See the compilation failure in
SwaggerProvider\tests\SwaggerProvider.Tests\Schema.Parser.Tests.fs.
Expected behavior
I have some mechanism to create a TypeProviderConfig
Actual behavior
I can't without removing the internal scope from the module .
Known workarounds
Remove the internal scope from the module .
Related information
- Any OS
- master@130750141e9033f2f6f82368745a18fafe98d305
- .NET Runtime 4.7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels