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

Abstract traits constructors #42

Merged
merged 5 commits into from
Oct 30, 2024
Merged

Abstract traits constructors #42

merged 5 commits into from
Oct 30, 2024

Conversation

mbarbin
Copy link
Owner

@mbarbin mbarbin commented Oct 30, 2024

Replace the OCaml variant constructor by value of the right type, but keeping their representation hidden.

No user facing change.

Motivation

There is some work happening in the provider dependency that may change the nature of what's a Trait.t constructor. In some versions, this is no longer an OCaml variant constructor. With this change, we reduce the exposure of vcs into the choices made in provider, and simplify future upgrades.

@mbarbin mbarbin merged commit 39d9313 into main Oct 30, 2024
3 checks passed
@mbarbin mbarbin deleted the abstract-traits branch October 30, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant