graphql
graphql copied to clipboard
Tagging
The reason I would use a query builder instead of a raw GraphQL query is that I want to be able to allow 3rd-party to alter the query, for example, by dispatching a Symfony event. But 3rd-party needs a way to identify the query they want to alter. A simple way would be to be able to store have some metadata, such as a list of tags, in the query object. Then 3rd-party is able to identify the query they want to alter