Fork me on GitHub
#announcements
<
2019-05-28
>
hlship16:05:43

com.walmartlabs/lacinia 0.33.0 and lacinia-pedestal 0.12.0 Lacinia is an open-source implementation of Facebook's GraphQL specification, in Clojure. GraphQL is an outstanding approach to getting diverse clients and servers exchanging data cleanly and efficiently. GitHub repo: https://github.com/walmartlabs/lacinia Documentation: http://lacinia.readthedocs.io/en/latest/ Featured changes in 0.33.0: - Schema Definition Language now supports empty types and extend type - Handling of nulls and omitted variables now conforms to the spec - Introspection can be disabled at schema compile time - scalars have been simplified, to conform to the spec lacinia-pedestal adds support for accessing GraphQL as an HTTP endpoint GitHub repo: https://github.com/walmartlabs/lacinia-pedestal Documentation: http://lacinia-pedestal.readthedocs.io/en/latest/ Features changes in 0.12.0: - All GraphiQL assets are served from application, not from a CDN

gklijs09:05:12

@ are there any known breaking changes for lacinia-pedistal 0.11.0 -> 0.12.0. Build using it fails since the upgrade. From the test I get it's party working. Hope to have some time soon to look into it more.

hlship14:05:25

The changes ate trivial, surprised theres a problem

gklijs15:05:59

I'll try to look into it asap, which is probably in about 14 hours from now.

gklijs11:05:26

Seems like there is a type issue. When I use the endpoint not working directly in GraphiQL it does work.

gklijs12:05:25

It's fixed by explicitly casting the string to an int.

hlship18:05:49

Check the release notes, there were breaking changes (we're still alpha) related to scalars; lacinia 0.33.0 is more strict, to be closer to the spec. On our own internal apps, I had to override the Int scalar to be more forgiving, for compatibility with existing clients.

hlship18:05:49

At some point soon, we need to lock it down as a 1.0 release.

gklijs19:05:32

I tried to find them. Also had some ID fields that I turned into Int to make it work.

gklijs22:05:57

Didn't share it here before, and just updated the lacinia-pedestal version for master. https://github.com/openweb-nl/open-bank-mark contains several Clojure applications which can be end-to-end performance tested as a whole. The acquired data can be viewed in different graphs. One part is a GraphQL endpoint mainly using subscriptions, writing and reading to Kafka.