Method: GraphQL::Query#fingerprint
- Defined in:
- lib/graphql/query.rb
#fingerprint ⇒ String
This contains a few components:
- The selected operation name (or
anonymous) - The fingerprint of the query string
- The number of given variables (for readability)
- The fingerprint of the given variables
This fingerprint can be used to track runs of the same operation-variables combination over time.
341 342 343 |
# File 'lib/graphql/query.rb', line 341 def fingerprint @fingerprint ||= "#{operation_fingerprint}/#{variables_fingerprint}" end |