GraphQLSwift / GraphQL

The Swift GraphQL implementation for macOS and Linux
MIT License
938 stars 72 forks source link

Making Visitor public #110

Closed drekka closed 2 years ago

drekka commented 2 years ago

In the project I am working on I needed a way to parse an incoming GraphQL request. However my code is about understanding the incoming request, not executing it. So I needed to be able to parse a request and retrieve the AST which I could then look at.

To this end I needed the parse functions to be accessible. This PR makes them public so I can parse the request and retrieve the AST.