Skip to content

fix(tags): fix non-null for multiple @unique tags#681

Merged
benjie merged 1 commit intov4from
fix-unique-tag
Oct 21, 2020
Merged

fix(tags): fix non-null for multiple @unique tags#681
benjie merged 1 commit intov4from
fix-unique-tag

Conversation

@benjie
Copy link
Copy Markdown
Member

@benjie benjie commented Oct 21, 2020

Description

Typo meant that if you added more than one @unique tag to a table the fields would be treated as primary keys rather than uniques, which caused nullability to change. Thanks to @felixyz for spotting.

Fixes graphile/crystal#1366

Performance impact

Negligible

Security impact

None

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.

Two @unique smart comments result in non-nullable references

1 participant