Sha256: c471742f67a31883e01c2757d9dd05009a9328c645c905d5f2a0b354e8585d96

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

require "graphql"
require "graphql-preview/version"
require "graphql-preview/schema_modification"
require "graphql-preview/mask"
require "graphql-preview/extensions/enabled_previews"

module GraphQLPreview

end

module GraphQL
  Schema.class_eval do
    include GraphQLPreview::Extensions::EnabledPreviews

    accepts_definitions \
      enabled_previews: GraphQLPreview::Extensions::EnabledPreviews
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
graphql-preview-0.0.5 lib/graphql-preview.rb
graphql-preview-0.0.4 lib/graphql-preview.rb
graphql-preview-0.0.3 lib/graphql-preview.rb
graphql-preview-0.0.2 lib/graphql-preview.rb
graphql-preview-0.0.1 lib/graphql-preview.rb