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

ie: replicate pre-datamodel-renderer single-field unique behaviour #3358

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

tomhoule
Copy link
Contributor

@tomhoule tomhoule commented Nov 1, 2022

The first unique index defined on the field wins. This became visible in introspection CI after
#3333 was merged.

Arguably, we should instead introspect @@unique()s on the model for extra single-field uniques, but that would be a change.

@tomhoule tomhoule marked this pull request as ready for review November 1, 2022 07:02
@tomhoule tomhoule requested a review from a team as a code owner November 1, 2022 07:02
@tomhoule tomhoule marked this pull request as draft November 1, 2022 07:02
The first unique index defined on the field wins. This became visible in
introspection CI after
#3333 was merged.

Arguably, we should instead introspect `@@unique()`s on the model for
extra single-field uniques, but that would be a change.
@tomhoule tomhoule force-pushed the ie/replicate-single-field-unique-behaviour branch from d6332de to 63086b6 Compare November 1, 2022 07:35
@tomhoule tomhoule marked this pull request as ready for review November 1, 2022 07:35
@tomhoule tomhoule added this to the 4.6.0 milestone Nov 1, 2022
@tomhoule
Copy link
Contributor Author

tomhoule commented Nov 1, 2022

We're starved on reviewers today and it's a one-line fix we want to observe in introspection CI, so I am just going to merge this.

@tomhoule tomhoule merged commit 69861a8 into main Nov 1, 2022
@tomhoule tomhoule deleted the ie/replicate-single-field-unique-behaviour branch November 1, 2022 11:36
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.

None yet

1 participant