Add type providers support for the transparent compiler#16690
Add type providers support for the transparent compiler#16690psfinaki merged 7 commits intodotnet:mainfrom
Conversation
|
|
That looks good! One thing to think about: so far we never actually had to manually invalidate any caches, rather everything is driven by constructing the appropriate key for each computation that describes what that computation depends on. I feel it makes reasoning about the whole thing a bit easier. It would be good if we could keep with it, however in this case it might be a bit tricky, so we can probably make an exception. Wonder if something could be doable inside |
|
@0101 I'm really unsure how to write a proper test that would mimic the behaviour of an invalidating type-provider. This PR has already improved the situation. Could we revisit this maybe some other time? |
…com/nojaf/fsharp into transparent-compiler-type-providers
0101
left a comment
There was a problem hiding this comment.
Thanks for moving this forward!
This may not be the ultimate solution but it should hopefully unblock most of basic type provider use cases. We can further improve it in the future.
* WIP * Clear all caches of projectSnapshot * Revert local test * Add todo about future plan.
Description
Hi @0101,
Trying to add support for type-provider to the transparent compiler.
This is a bit hard to explain so I made a quick recording:
fsharp-type-provider-trabsparent-compiler.mp4
Open questions are:
//cc @dawedawe
Fixes # (issue, if applicable)
Checklist
Test cases added
Performance benchmarks added in case of performance changes
Release notes entry updated: