Fork me on GitHub
#graphql
<
2020-02-20
>
chrisulloa20:02:01

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

chrisulloa20:02:24

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

hiredman22:02:31

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
hiredman22:02:10

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

gklijs22:02:39

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.