-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose FSharpProjectSnapshot data. #16716
Expose FSharpProjectSnapshot data. #16716
Conversation
|
Yeah I think that's fine. Alternatively we could maybe add a |
I'm not a huge fan of exposing underlying data types tbh. The more data types we expose, the harder it's going to be to change it. Don't we want to instead expose operations on snapshots/checker for needed actions, so it's easier to deprecate and change it? |
Nvm, if we want to eventually replace options with snapshot, it's fine |
It could be good, yes. We don't mind changing the API calls when such public APIs appear. However, we need to start testing the transparent compiler earlier than that happens, so for now let's make it possible for all editors to use and test it, without resorting to adding more IVTs to FCS. |
Yes, it sounds like it's where everyone is going to migrate to eventually when transparent compiler is stable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can expose these now. But eventually the code that will be creating new snapshots based on updates should also be here so everyone doesn't have to re-implement it.
Yes, perhaps, but something that would fit all use cases would be more ideal to start with. |
Description
In the new world of snapshots, it is currently impossible to update a snapshot when, for example, the
OtherOptions
changed. I'd like to expose more data so the staticCreate
method can be used to create an updated version.This currently is possible with
FSharpProjectOptions
. I would need this to have parity.Who do you think @0101?
Checklist
Test cases added
Performance benchmarks added in case of performance changes
Release notes entry updated: