Skip to content

0.9.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@MichalLytek MichalLytek released this 03 Dec 15:50
· 270 commits to main since this release

Changelog

  1. This release continues to follow the pattern introduced with applying additional decorators for Prisma schema resolvers via the resolver actions configs.

    This time it adds support for adding decorators (@Authorized, @Extensions or custom ones) to Prisma models @ObjectType class fields.
    It generates applyModelsEnhanceMap function and ModelsEnhanceMap type, similar to ResolversEnhanceMap. You can find more info about this feature in docs:
    https://github.com/MichalLytek/typegraphql-prisma/blob/v0.9.1/Readme.md#additional-decorators-for-prisma-schema-model-fields