Class: GraphQL::NonNullType

Inherits:
Node
  • Object
show all
Defined in:
ext/graphql_parser/graphql_ruby.c

Instance Method Summary collapse

Instance Method Details

#typeObject



664
665
666
667
668
# File 'ext/graphql_parser/graphql_ruby.c', line 664

static VALUE non_null_type_get_type(VALUE self) {
  struct GraphQLAstNonNullType *node;
  TypedData_Get_Struct(self, struct GraphQLAstNonNullType, &non_null_type_type, node);
  return TypedData_Wrap_Struct(type_class, &type_type, (void*)GraphQLAstNonNullType_get_type(node));
}