Upcoming Release Changes #260
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@graphql-codegen/[email protected]
Minor Changes
e6e85a999
Thanks @aplr! - Make typescript-generic-sdk respect thedocumentMode
external option by prefixing types with the value configured inimportOperationTypesFrom
as documented.@graphql-codegen/[email protected]
Patch Changes
#269
d28569b9a
Thanks @plmercereau! - Initial releaseThe
typescript-nhost
plugin generates the schema for theTypescript Nhost SDK
.What the plugin does:
graphql-codegem/typescript
, following a strict configuration. (the plugin does not require@graphql-codegen/typescript
to be installed by the user but is use as a dependency).'@urql/introspection
import schema from './generated-schema'
Installation
Then configure the code generator by adding a
codegen.yaml
file:Usage
A GraphQL query named
todos
will then be accessible through:The
todos
object will be strongly typed based on the GraphQL schema, and the fields that would have been selected in the query.@graphql-codegen/[email protected]
Patch Changes
#248
98d3da6b1
Thanks @DominicGBauer! - fix: update imported api to use alternate namePreviously imported api name did not update actual implementation
now it does update the implementation