cubiql icon indicating copy to clipboard operation
cubiql copied to clipboard

Investigate content negotiation

Open lkitching opened this issue 7 years ago • 2 comments

Investigate whether content types other than JSON (e.g. EDN, CSV) can be negotiated.

lkitching avatar Sep 08 '17 16:09 lkitching

FYI: I've asked the lacinia authors on the #graphql clojure slack channel about this, waiting to hear back... but the lacinia-pedestal docs say "The response format is always application/json."

RickMoynihan avatar Sep 11 '17 10:09 RickMoynihan

Looks like there are plans also to support graphql like queries via an EDN serialisation of the query: https://github.com/walmartlabs/lacinia-pedestal/issues/12#issuecomment-307196248 This would be awesome for any clients we write, but note also they seem up for negotiating transit and other response types.

RickMoynihan avatar Sep 11 '17 11:09 RickMoynihan