-
Notifications
You must be signed in to change notification settings - Fork 0
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
raise conflicts for variants with the same matcher #150
Comments
That feels like a validation rule topic? We allow adding two variants with the same matchers. |
Good point. It could be solved with both. Solving it via a validation rule seems more generic
|
How do we detect that as a conflict? Can we use validation rules to raise conflicts when merging? -> So only healthy states get through? |
we can use validation rules but they are semantically different than conflicts. a conflict = unmergable. validation rule = mergable but you likely don't want that. |
Context
This below should have been a conflict. I merged "viva la application" which has a different
variant.id
but the matcher is identical tomeine coole app
.Reproduction
Open tis file in fink
minimal-meine-coole-app.inlang
Merge this file into the first one
minimal-viva-la-application.inlang
The text was updated successfully, but these errors were encountered: