Skip to content Breaking
- The
subscribe() function now returns a Promise of either an AsyncIterator or ExecutionResult to better distinguish between initialization errors and publish errors; previously it just returned an AsyncIterator (#918).
Spec compliance
- Passing an array in place of a
String input throws an error instead of silently coercing (#925).
Fixes
- Directive descriptions are preserved through calls to
extendSchema() (#961).
Changes
- The
ExecutionArgs type is now exported (#988).
- Adding a type to a union or a value to an enum are now reported as "dangerous" changes (#991).