code: function getRequestParametersIdentifier(
    parameters: RequestParameters,
    variables: Variables,
  ): Identifier {
    const requestID = parameters.id != null ? parameters.id : parameters.text;
    invariant(
      requestID != null,
      'getRequestParametersIdentifier: Expected request `%s` to have either a ' +
        'valid `id` or `text` property',
      parameters.name,
    );
    return requestID + JSON.stringify(stableCopy(variables));
  }
docs: Returns a stable identifier for the given pair of `RequestParameters` +
  variables.