예제 #1
0
        private string PrintOperationTypeDefinition(GraphQLOperationTypeDefinition node)
        {
            var operation = node.Operation.ToString();
            var type      = PrintNamedType(node.Type);

            return($"{operation}: {type}");
        }
예제 #2
0
        private string PrintOperationType(GraphQLOperationTypeDefinition operationType)
        {
            var operation = operationType.Operation.ToString().ToLower();
            var type      = PrintNamedType(operationType.Type);

            return($"{operation}: {type}");
        }