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

Adding a comment in an enum copies to the Go code and can break with multi-line #145

Closed
polds opened this issue Jun 22, 2018 · 0 comments
Closed

Comments

@polds
Copy link

polds commented Jun 22, 2018

Expected Behaviour

models_gen.go

const (
   // This does things.
   // Neat. (multiline)
   MyEnumVal  MyEnum = "VAL"
)

Actual Behavior

models_gen.go

const (
   MyEnumVal  MyEnum = "VAL" // This does things.
   Neat. (multiline)
)

Minimal graphql.schema and models to reproduce

enum MyEnum {
   # This does things.
   # Neat. (multiline)
   VAL
}
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

No branches or pull requests

1 participant