Sha256: a29256a9c39f2c1773fb539679d36ed031ad4ff5cf3f1ad8fff3a63b1ebf7698
Contents?: true
Size: 587 Bytes
Versions: 34
Compression:
Stored size: 587 Bytes
Contents
module GraphQL class Schema module TypeExpression def self.build_type(schema, ast_node) case ast_node when GraphQL::Language::Nodes::TypeName type_name = ast_node.name schema.types[type_name] when GraphQL::Language::Nodes::NonNullType ast_inner_type = ast_node.of_type build_type(schema, ast_inner_type).to_non_null_type when GraphQL::Language::Nodes::ListType ast_inner_type = ast_node.of_type build_type(schema, ast_inner_type).to_list_type end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems