Represents a GraphQL call variable for use with the GraphQL Batch API.
For example, given a source query identified by "q0", we would make a batch
call variable "<ref_q0>" as follows:
new GraphQL.BatchCallVariable('q0', '$.*.actor.id');
The batch API allows streaming responses to the client, re-using information
from previous queries via ref_params; the query identifier ("q0" in the
example above) combined with a JSONPath to the node to be extended
("$.*.actor.id") allow us to define a supplementary query that retrieves
additional information (example: https://fburl.com/65122329) for that node.
Represents a GraphQL call variable for use with the GraphQL Batch API.
For example, given a source query identified by "q0", we would make a batch call variable "<ref_q0>" as follows:
new GraphQL.BatchCallVariable('q0', '$.*.actor.id');
The batch API allows streaming responses to the client, re-using information from previous queries via ref_params; the query identifier ("q0" in the example above) combined with a JSONPath to the node to be extended ("$.*.actor.id") allow us to define a supplementary query that retrieves additional information (example: https://fburl.com/65122329) for that node.
https://our.intern.facebook.com/intern/dex/graphql-batch-api