Changelog
0.12.0-rc.6
Changelog
0.12.0-rc.5
customPrintSchemaFn
to makeSchema configChangelog
0.12.0-rc.4
refactor: Remove NEXUS_SHOULD_GENERATE_ARTIFACTS env var
feat: Add shouldExitAfterGenerateArtifacts
Warn on missing outputs
in makeSchema
config
Type-level defaultResolver
has been removed, similar functionality can be achieved with the onCreateFieldResolver
plugin API
Changelog
0.12.0-rc.2, rc.3
Changelog
0.12.0-rc
feat(deps): Bumps the default minimum version of graphql-js to 14.5.0
Nexus uses the new extensions
property on types to store metadata provided to Nexus types, in order to make them usable by plugins.
feat: Adds "Plugins" API, see the docs for more info on what all these can help accomplish
feat(plugin): Add nullabilityGuardPlugin
. See the docs for more info
feat(plugin): Add fieldAuthorizePlugin
. See the docs for more info
This is the same behavior as before, but implemented more flexibly as a plugin. This will be
automatically added if no plugins are specified, otherwise it will need to be imported & added
to makeSchema
.
feat(schema): Adds shouldExitAfterGenerateArtifacts
option to makeSchema
The shouldExitAfterGenerateArtifacts
makes it possible to exit after the types are generated,
useful if you do not check a schema artifact into source control, but wish to generate before the code runs.
refactor: Removes nexusWrappedType
This was an internal implementation detail which should not affect end users
refactor: Removes t.modifyType
API
This may not have ever worked, it was only intended to modify fields on an objectType
which were
originally implemented by an interface. Please open an issue if this is a breaking change for you, so we
can understand the use-case and design a better API.
test: Improved code coverage, adds base threshold to new PRs