This is a work in progress implementation of the GraphQL spec written in Swift. Head over to our Development project to see the current progress.
Ocelot is currently in it's very early stages. As soon as we have a clearly defined roadmap we'll label issues contribution friendly. You can follow the ongoing development through this repository's GitHub project board.
Unless the only thing you need is a GraphQL Lexer installing this library is not yet recommended.
As we don't have any releases yet you have to specify the master
branch instead of a version.
Add the following line to your Package.swift
file's dependencies array:
.package(url: "https://github.com/ocelotgraphql/graphql-swift", .branch("master"))