Fork me on GitHub
#graphql
<
2018-09-04
>
gklijs06:09:04

Has anybody tried to get typescript types from the schema exposed by com.walmartlabs/lacinia-pedestal?. I get ‘ToolError: Validation of GraphQL query document failed’ after I do ‘apollo schema:download --endpoint=http://localhost:8888/graphql schema.json’ followed by ‘apollo codegen:generate --schema=schema.json --target=typescript’

hlship18:09:05

I'd be interested in knowing what the Apollo tool's query looks like ... perhaps we're doing something wrong in introspection?

hlship22:09:26

There's some bit of ambiguity in the spec w.r.t. introspection, so we might have strayed off the path.