Sha256: 7c9c83668b4490ad0f2289620528a5afbcf323f8368ee7bf1adce7a5f8e6d3d9
Contents?: true
Size: 423 Bytes
Versions: 7
Compression:
Stored size: 423 Bytes
Contents
# frozen_string_literal: true module GraphQL class Schema class Member module HasAstNode # If this schema was parsed from a `.graphql` file (or other SDL), # this is the AST node that defined this part of the schema. def ast_node(new_ast_node = nil) if new_ast_node @ast_node = new_ast_node end @ast_node end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems