Skip to content

Subscriptions support

Compare
Choose a tag to compare
@gmac gmac released this 25 Jul 02:32
· 9 commits to main since this release
620271f

Adds support for subscription operations in #152, with a Rails example in #153. Minimally disruptive API changes:

  1. Stitching now returns a GraphQL::Query::Result rather than a raw hash, just like a standard GraphQL execution. If this causes problems in a test, call to_h on the result for the raw hash.

  2. Stitching Client.execute can now be invoked with the query as a positional argument rather than a query: kwarg (for parity with GraphQL Ruby). The old kwarg is also still supported.