Changes in this section are not yet released. If you need access to these changes before we cut a release, check out our @main
NPM releases. Each commit on the main branch is published to NPM under the main
tag.
- Features
- Code actions are now available to automatically fix some errors. These are available in the playground as well as in the experimental TypeScript plugin
- We now require that
__typename = "SomeType"
includeas const
to ensure no other typename can be assigned. A code fix is available - Fields can now be defined using static methods, similar to how fields can be defined using functions
- Adds
importModuleSpecifierEnding
configuration option to enable users generating ES modules to add the.js
file extension to import paths in the generated TypeScript schema file
- Bug Fixes
- Reverted accidental breakage of the experimental TypeScript plugin
- Fixed a bug where we generated incorrect import paths on Windows
- Fixed a bug where incorrect resolver arguments were passed to method resolvers which provided custom names
-
Features
- Support for defining types using generics
-
Documentation
- An extensive example app showing many patterns used in a production app
- Features
- Support for
@specifiedBy
on custom scalars - Allow non-subscription fields to return
AsyncIterable
to enable@stream
- Support for
- Features
- Allow an arg to be optional and not nullable if a default is provided
- Improve validation of config options
Before 0.0.23
release we don't have detailed changelogs.