Fork me on GitHub

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


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


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

💥 4

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


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.