Open Swoorup opened 4 years ago
The simplest solution would be to make the global parameters part of the cache key:
A lot of parameter changes without having a mechanism to flush the cache will lead to memory bloat, but I don't think it's something we need to really worry about.
It appears the type provider cache's generated members for each sql statement which is great but fails to regenerate members and uses a stale cache, when any of the global parameters is updated, namely the XCtor.
To Reproduce: