graphql

chrisulloa 2020-02-20T20:42:01.088700Z

Does anyone here generate typescript type definitions from their GraphQL schema?

chrisulloa 2020-02-20T20:42:24.089300Z

I was looking into whether we could generate types for our front end developers and possibly incorporate it into our CI pipeline

chrisulloa 2020-02-20T20:43:19.089600Z

Using something like this for example, https://github.com/dotansimha/graphql-code-generator

2020-02-20T22:16:31.091300Z

lacinia does provide the graphql reflection layer, so even if you define your schema as clojure data, you can use some of the js tools to dump out a schema from the server in the graphql schema language

💥 1
2020-02-20T22:17:10.092300Z

so you can feed that schema in to another tool, or if your tool can generate the code directly from the server using the reflection stuff you can do that too

gklijs 2020-02-20T22:18:39.094Z

Having issues with the 0.13.0 release of lacinia-pedestal. I run it aot compiled in docker and somehow it fails. Depending on the jvm I use, it either works half or not at all, at least netty is never started. With 0.12.0 it all works. Not really sure what could be the cause.