Skip to content

nfl/graphql-mediator

Repository files navigation

graphql-mediator

Download License

A library that lets co-opt objects from other GraphQL services.

This library converts the result of a GraphQL introspection query into graph-ql usable objects for inclusion into other GraphQL exported objects.

Binaries

Example for Maven:

<dependency>
    <groupId>com.nfl.graphql</groupId>
    <artifactId>mediator</artifactId>
    <version>x.y.z</version>
</dependency>

Example for gradle:

gradle compile("com.nfl.graphql:mediator:x.y.z")

Change history can be found here: CHANGELOG.md

How to use the latest build with Gradle

Add the repositories:

repositories {
    maven { url  "http://dl.bintray.com/nfl/maven" }
}

Dependency:

dependencies {
  compile 'com.nfl.graphql-mediator:INSERT_LATEST_VERSION_HERE'
}

How to use the latest build with Maven

Add the repository:

<repository>
    <snapshots>
        <enabled>false</enabled>
    </snapshots>
    <id>bintray-nfl-maven</id>
    <name>bintray</name>
    <url>http://dl.bintray.com/nfl/maven</url>
</repository>

Dependency:

<dependency>
    <groupId>com.nfl.graphql-mediator</groupId>
    <artifactId>graphql-mediator</artifactId>
    <version>INSERT_LATEST_VERSION_HERE</version>
</dependency>

How to publish a new release of the library to JCenter

See deploy.md

How to use it

TBD

Full Documentation

See the Wiki for full documentation, examples, operational details and other information.

Build

To build:

$ git clone [email protected]:NFL/graphql-mediator.git
$ cd graphql-mediator/
$ ./gradlew build

Further details on building can be found on the Getting Started page of the wiki.

Requirements

  • = Java 8

Examples

Contact Info

LICENSE

graphql-mediator is licensed under the MIT License. See LICENSE for more details.