persistgraphql
persistgraphql copied to clipboard
Add configurable `literalTag`
trafficstars
The prior implementation hardcodes the literalTag to gql.
Consequently, it only captures queries encapsulated by
graphql-tag by Apollo. By allowing it to be configurable,
we can capture queries encapsulated by Relay's graphql too,
and perhaps other implementations.
@MrSaints: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/