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

type should be forbidden as a union variant name #179

Closed
sfackler opened this issue Dec 3, 2018 · 0 comments · Fixed by #422
Closed

type should be forbidden as a union variant name #179

sfackler opened this issue Dec 3, 2018 · 0 comments · Fixed by #422

Comments

@sfackler
Copy link
Member

sfackler commented Dec 3, 2018

This definition passes validation and generates code with the conjure-java backend, but can't possibly work:

types:
  definitions:
    objects:
      union:
        type: string

It should be forbidden by the conjure parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants