resolveRootTypename function

String resolveRootTypename(
  1. OperationDefinitionNode operationDefinition,
  2. Map<String, TypePolicy> typePolicies
)

Implementation

String resolveRootTypename(
  OperationDefinitionNode operationDefinition,
  Map<String, TypePolicy> typePolicies,
) =>
    typenameForOperationType(
      operationDefinition.type,
      typePolicies,
    );