Tags: strazeadin/sgqlc
Tags
release 8 This is a much improved release featuring a basic WebSocket endpoint that can handle paginated queries or subscriptions -- it doesn't handle multiple interleaved operations yet. It's more robust and handles unions and interfaces as well as complex input types with grace. This release is also very important since it's the first with **MANY CONTRIBUTORS**: - Chris Conlin - Chris Hager - Daniel Goodman - Greg - Joe Barnett - P.J. Janse van Rensburg - Richard Jones - Seba Bug Fixes: - only set `Accept` header if it doesn't exist - properly define schema entry points (query, mutation, subscription) - properly handle cast of list elements with `__as__` - remove `totalCount` from Relay, it's not defined in that standard - fix codegen for single-value unions - allow datetime types to handle string as well Enhancements: - initial synchronous WebSocket endpoint (single query/subscription) - handle complex input types (objects) - schema now declares query, mutation and subscription types - interface and unions now instantiate based on `__typename` - add `__args__` shortcut for `__selection__().__args()` - allow selectors to retrieve selection by name (alias) - pipenv updates
release 7 Bug Fixes: - codegen: Fix handling of argument's default value of complex types - endpoint: more robust error handling Enhancements: - operation: better support for union, including auto-selection - operation: handle subscriptions (handle its operation "kind") - types: declare __typename for unions - example: Updated github example
Add support for subscriptions and mutations when type is not named Mu… …tation Allow the __as__ operator to be used on Unions
release 5 This release contains both features and fixes. Fixes: - fix auto selection of fields, apply depth limit and avoid infinite recursion on schemas with reference loops (allowed in GraphQL) Features: - Inline fragment support (`__as__(Type)`), enhances `Interface` and `Union` usage. The meta field `__typename` is automatically selected and used to detect the correct type in the response data. - Automatically expose `__typename` (as Python field `__typename__`), this is not listed in `dir()` or `iter()`, but can be selected.
PreviousNext