Update dependency typegraphql-prisma to ^0.26.0 #100
Closed
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 contains the following updates:
^0.23.5
->^0.26.0
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
MichalLytek/typegraphql-prisma
v0.26.0
: 0.26.0Compare Source
Changelog
Supported Prisma version has been bumped to
^4.15.0
💪As the
v2.0.0.beta-2
release of TypeGraphQL has removed the legacyisAbstract
decorator option, it is now not emitted by default by the generator.A new generator option called
emitIsAbstract
has been introduced. It restores the old behavior of emittingisAbstract: true
decorator option for@ObjectType
(models, outputs) and@InputType
classes.More info about this feature (and when to use it) can be found in the docs:
https://prisma.typegraphql.com/docs/advanced/emit-is-abstract
v0.25.1
: 0.25.1Compare Source
Changelog
Supported Prisma version has been bumped to v4.14.0 💪
No changes in DMMF, so all should upgrade without any issues.
The Prisma version check mechanizm has been loosened and now it uses
^
check for major version changes.It is more convenient for users but in some future there might occur some breaking changes as Prisma internals are not a subject for semantic versioning. Please report all the issues encountered with new Prisma version upgrade 👍
Read about the future of
typegraphql-prisma
👀v0.25.0
: 0.25.0Compare Source
Changelog
Support for enhancing resolvers with decorators by CRUD scope (#300) is implemented in a first phase 🚀
Since this release, you can use
_mutation
and_query
shorthand syntax, apart from the_all
one:The decorators from
_mutation
and_query
are joined with those from_all
and then passed to the selected actions enhancers 💪The next iteration will add support for even more granular control:
_create
,_read
,_update
and_delete
. Stay tuned! 📻v0.24.7
: 0.24.7Compare Source
Changelog
Supported Prisma version has been bumped to v4.13.0 💪
No changes in DMMF, so all should upgrade without any issues.
Stay tuned for more changes - they are in progress 📻
v0.24.6
: 0.24.6Compare Source
Changelog
You can now use
formatGeneratedCode
generator option to either set code formatting using Prettier or disable it at all to save some time while generating 🎉More info about this feature in the docs: https://prisma.typegraphql.com/docs/basics/configuration#formatting-generated-code
v0.24.5
: 0.24.5Compare Source
Changelog
Supported Prisma version has been bumped to v4.12.0 💪
No changes in DMMF, so all should upgrade without any issues.
No more changes, this week was mostly about debugging reported issues and reporting issues upstream on Prisma repo 👀
v0.24.4
: 0.24.4Compare Source
Changelog
It is now possible to configure generator to always omit some field in input or output types for all models (#356).
Some fields like
createdAt
orupdatedAt
are being frequently omitted from input types, which is cumbersome to manually maintain inschema.prisma
file for all the models. Hence there are now two new generator options that allows to omit by default some fields -omitInputFieldsByDefault
andomitOutputFieldsByDefault
, e.g.:You can find more info about this feature in the docs:
https://prisma.typegraphql.com/docs/advanced/hiding-field#omit-fields-by-default
v0.24.3
: 0.24.3Compare Source
Changelog
Due to a bug in a Prisma Client (https://github.com/prisma/prisma/issues/18326), there was an issue with getting relations during
findMany
queries (#367).This has been fixed and now the queries should work without any issues 💪
You might expect some changes in generated resolvers because of patching small issue with redundant type infos - using
_returns
which now is_type
:@TypeGraphQL.Args(_type => AggregateCategoryArgs) args: AggregateCategoryArgs
v0.24.2
: 0.24.2Compare Source
Changelog
Supported Prisma version has been bumped to v4.11.0 💪
Because of small changes in DMMF, you may expect changes in the order of fields in generated code:
However, it won't affect any schema capabilities, so you can safely upgrade 👌
v0.24.1
: 0.24.1Compare Source
Changelog
v0.24.0
and reported in #361.Now the
_all
property should be optional for both resolvers and types/models 🙌v0.24.0
: 0.24.0Compare Source
Changelog
Support for overriding
_all
property decorators in enhance maps has been added 🚀Now you can use the function variant to override decorators declared for all resolver methods:
And even combine the "all" decorators with the ones for selected method:
This feature works for all enhance maps - resolvers, relation resolvers, models, outputs and input types, e.g.:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.