Sha256: 7873a40030d1af856c6a53f3b829d5922339fb5dba764bd86e5dc32ca3881cf0

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

GraphqlDevise::Engine.routes.draw do
  if GraphqlDevise::Types::QueryType.fields.blank?
    GraphqlDevise::Types::QueryType.field(:dummy, resolver: GraphqlDevise::Resolvers::Dummy)
  end

  if GraphqlDevise::Types::MutationType.fields.present?
    GraphqlDevise::Schema.mutation(GraphqlDevise::Types::MutationType)
  end

  GraphqlDevise::Schema.query(GraphqlDevise::Types::QueryType)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
graphql_devise-0.11.1 config/routes.rb