Skip to content
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

TODO: Regenerate the marshalled repo state only when the type actually changes #4955

Open
kit-ty-kate opened this issue Dec 10, 2021 · 0 comments

Comments

@kit-ty-kate
Copy link
Member

We could have a ppx (or do it by hand) that checks the shape of a type, hash it and only regenerate the cache when this hash changes.
This would fix the issue related to opam regenerating the state cache too often (e.g. when switching between opam dev and the latest release, with e.g. plugins)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant