Sha256: b0d911211c4b2bb744ddee1b3373587dc0051025295a9cf12ca0d9823b83012f

Contents?: true

Size: 801 Bytes

Versions: 2

Compression:

Stored size: 801 Bytes

Contents

# GraphQL-IDL-Parser

This gem will accept a GraphQL IDL file and parse it. It uses [gjtorikian/graphql-idl-parser](https://github.com/gjtorikian/graphql-idl-parser) as the mechanism
for this, which is written in Rust, making this blazing fast.

[![Build Status](https://travis-ci.org/gjtorikian/graphql-idl-parser-ruby.svg?branch=master)](https://travis-ci.org/gjtorikian/graphql-idl-parser-ruby)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'graphql-idl-parser'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install graphql-idl-parser

## Usage

``` ruby
# feed it a file
parser = GraphQL::IDLParser.new(filename: contents)

# or feed it a string
parser = GraphQL::IDLParser.new(schema: contents)

# execute!
results = parser.process
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-idl-parser-0.1.0 README.md
graphql-idl-parser-0.0.1 README.md