Closed
Description
I think there are some good use cases for working with strings from Ruby:
- Programmatically building or modifying a query, as in graphql-client
- Merging queries together as in Merging GraphQL Queries Together #406
- Handling subscriptions efficiently (eg, unioning all queries into one, resolving it once, then distrubuting the requested parts of the response to the various subscribers)
However, this gem provides nothing for doing that. The best API would be one that doesn't reference AST node classes by name, instead, something decoupled from that, in case we have to change the nodes in the future.
I heard good things about estools a while back, there may be some inspiration there!
Metadata
Metadata
Assignees
Labels
No labels