graphql-go / graphql

An implementation of GraphQL for Go / Golang
MIT License
9.82k stars 836 forks source link

Is it possible to go from `*graphql.Schema` to an ast node? #681

Open darren-west opened 9 months ago

darren-west commented 9 months ago

Description

I would like to load a schema and then visit each FieldDefinition to perform some operation but while I can print the document, then parse it then use the ast nodes, I figured there would be a way to get the ast node for a schema. Is this possible?

kukwuka commented 3 months ago

up