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

Add constraints to EnumValue #55

Merged
merged 1 commit into from Jul 16, 2015
Merged

Add constraints to EnumValue #55

merged 1 commit into from Jul 16, 2015

Conversation

leebyron
Copy link
Collaborator

This changes the formatting for constraints to be a little easier to read IMO.

Also, adds the disambiguating constraints to EnumValue.

Where I'd like feedback is on constraining EnumValue to not include null. I think this has the possibility to be a point of confusion. null as an EnumValue is a pitfall, at best it's confusing. This effectively makes the use of null as a literal a syntax error (and buys us the option value of including it as a true literal in the future).

If feedback is positive, I'll find references to this in the spec and tests and clean them up.

This changes the formatting for constraints to be a little easier to read IMO.

Also, adds the disambiguating constraints to `EnumValue`.
leebyron added a commit that referenced this pull request Jul 16, 2015
Add constraints to `EnumValue`
@leebyron leebyron merged commit 5bb2bb5 into master Jul 16, 2015
@leebyron leebyron deleted the constraints branch July 16, 2015 21:13
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

2 participants