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

Generated SDL has leading | character for union types #957

Closed
leebenson opened this issue Jun 20, 2022 · 1 comment
Closed

Generated SDL has leading | character for union types #957

leebenson opened this issue Jun 20, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@leebenson
Copy link
Contributor

When exporting SDL, generated unions seem to be dumping an extra | in the type definition:

union C = | A | B # <-- notice the leading pipe

Possibly harmless for the GraphQL spec, but could trip up some tooling?

@leebenson leebenson added the bug Something isn't working label Jun 20, 2022
@leebenson leebenson changed the title <Title> Generated SDL has leading | character for union types Jun 20, 2022
@sunli829
Copy link
Collaborator

Thanks! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants