Closed jarrod-mg closed 1 month ago
I think this might not be a supported feature; but I'm hoping there is a way to do this...
I provided a schema like the one below, and loaded it with LoadSchema.
I expected to be able to get the value "myName" out of the *ast.Schema, somehow.
directive @myTag(name: String) on SCHEMA schema @myTag(name: myName) { query: Query } type Query { thing ( input: ThingInput ): ThingOutput } input ThingInput { id: ID } type ThingOutput { id: ID }
go list -m github.com/vektah/gqlparser/v2
go version
github.com/vektah/gqlparser/v2 v2.5.3 go version go1.20.5 linux/amd64
What happened?
I think this might not be a supported feature; but I'm hoping there is a way to do this...
I provided a schema like the one below, and loaded it with LoadSchema.
What did you expect?
I expected to be able to get the value "myName" out of the *ast.Schema, somehow.
Minimal graphql.schema and models to reproduce
versions
go list -m github.com/vektah/gqlparser/v2
?go version
?