Open
Description
Description
Seems it would be nice to make this time configurable, for very big openapi.json specs, the type providers might take more than 30 seconds to regenerate, making the cache kind of not useful (always re-generating types)...
I am using SwaggerProvider so not sure if the underlying code is the same here (i guess)
module Cache =
let providedTypes = Caching.createInMemoryCache (TimeSpan.FromSeconds 30.0)
I suppose is here, could this become a type provider parameter, with default value of 30.0 ? https://github.com/fsprojects/SwaggerProvider/blob/2cf23f67aa7dc7df98179ee02d07be10beb8f354/src/SwaggerProvider.DesignTime/Provider.OpenApiClient.fs
Metadata
Metadata
Assignees
Labels
No labels