-
Notifications
You must be signed in to change notification settings - Fork 151
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
Encode sets with max=1 as pointers #191
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is a common pattern to express a column whose value is "optional" (i.e: can be omitted) as a "set" with min==0 and max==1. This is specially frequent in those types that do not have a straightforward way of expressing nullity (e.g: boolenas and enums).
Although from the RFC point of view they are
sets
, semantically they really express a value that can be omitted.We should allow using pointers to refer to these kind of columns.
The text was updated successfully, but these errors were encountered: