apollo-compiler 0.6.0

A compiler for the GraphQL query language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[
    SyntaxError(
        SyntaxError {
            message: "expected at least one Selection in Selection Set",
            src: "query getName {}\n\nfragment fragmentOne on Product {\n    name\n    birthday\n}\n\ntype Query {\n  topProducts(first: Int): Product,\n}\n\ntype Product {\n  name: String\n}",
            span: SourceSpan {
                offset: SourceOffset(
                    15,
                ),
                length: SourceOffset(
                    1,
                ),
            },
        },
    ),
]