libgraphqlparser
libgraphqlparser copied to clipboard
A GraphQL query parser in C++ with C and C++ APIs
Since this project has moved from Facebook to the foundation, does it make sense to remove the namespace from the cpp files? This would be considered a breaking change. Open...
Per the `README.md` Linux or Mac OS are listed as requirements. It would be useful to support building on Windoes. I gave it a try and there's a few errors,...
GraphQL allows to [extend schemas](https://graphql.github.io/graphql-spec/draft/#sec-Schema-Extension), i.e.: > [...] to represent a schema which has been extended from an original schema. For example, this might be used by a GraphQL service...
The latest version of ctypesgen installs the executable as "ctypesgen" instead of "ctypesgen.py", so the cmake command fails to find it. This PR adds a check to see if ctypesgen.py...
Since ctypesgen 0.1.1 (now 1.0.0) it has installed as "ctypesgen" instead of "ctypesgen.py" so CMakeLists.txt can't find the executable. The fix is trivial: ``` FIND_PROGRAM(CTYPESGEN_FOUND ctypesgen.py) IF (NOT CTYPESGEN_FOUND) FIND_PROGRAM(CTYPESGEN_FOUND...
Currently, the parser considers multi-line block strings wrongly to be placed in a single long line. For example, [this block string](https://github.com/graphql/libgraphqlparser/blob/master/test/kitchen-sink.graphql#L51) is considered to have [the location](https://github.com/graphql/libgraphqlparser/blob/master/test/kitchen-sink.json): ``` {"start": {"line":...
In addition to extending types, GraphQL also allows to [extend interfaces](https://graphql.github.io/graphql-spec/draft/#sec-Interface-Extensions). This seems currently not supported by libgraphqlparser, though, which fails with an exception of the type: ``` Parser failed...
[Descriptions](https://graphql.github.io/graphql-spec/draft/#sec-Descriptions) allow to annotate definitions in a GraphQL schema with human-readable content, which is also made available via introspection. It seems that libgraphqlparser currently fails when encountering descriptions with an...
Hi, I am looking for a clean C++ example to retrieve the object hierarchy from graphql introspection JSON schema. Is that possible with this library?
I am running into trouble when using libgraphqlparser in combination with GraphQL schemas that rely on the `ID` scalar type, which is part of the [GraphQL specification](https://facebook.github.io/graphql/draft/#sec-ID). Looking at the...