Sha256: 06698d45b81118d5be07e75cafe682610a4021f38a8a737e8778748a3fbc51bd

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 Bytes

Contents

class InterpreterSchema < GraphQL::Schema
  use GraphQL::Execution::Interpreter if Gem::Version.new(GraphQL::VERSION) >= Gem::Version.new('1.9.0')
  use GraphQL::Analysis::AST          if Gem::Version.new(GraphQL::VERSION) >= Gem::Version.new('1.10.0')

  use GraphqlDevise::SchemaPlugin.new(query: Types::QueryType, authenticate_default: false)

  mutation(Types::MutationType)
  query(Types::QueryType)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
graphql_devise-0.12.3 spec/dummy/app/graphql/interpreter_schema.rb
graphql_devise-0.12.2 spec/dummy/app/graphql/interpreter_schema.rb
graphql_devise-0.12.1 spec/dummy/app/graphql/interpreter_schema.rb
graphql_devise-0.12.0 spec/dummy/app/graphql/interpreter_schema.rb