News for hackers. Stuff that matters.
Re:Why not use GraphQL? by zaiste on Saturday November 07, 2020 @11:50AM (#25016197)
I didn't know WunderGraph, but this sounds similar to OneGraph [1], i.e. you write your GraphQL query, identify its input if needed, then persist (once) the query on the server. This returns a unique query ID that can be used to execute that query server side. In OneGraph, you can use just HTTP for that, no need for a GraphQL client library. You can use any HTTP client to trigger a POST request with the persisted query ID and its input params in the request body. This way it seems a bit easier and simpler that your approach with RPC in WunderGraph. I need to read your docs to have a full picture though. ;)

[1]: https://www.onegraph.com

Re:Why not use GraphQL? by jensneuse on Saturday November 07, 2020 @01:06PM (#25016957)
When I say RPC i actually mean JSON RPC. So it's more or less the same approach. You can use CURL to use a WunderGraph API.
Re:Why not use GraphQL? by zaiste on Saturday November 07, 2020 @01:49PM (#25017429)
Thanks for the clarification