0.9.1
Pre-release
Pre-release
Changelog
-
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 generatesapplyModelsEnhanceMap
function andModelsEnhanceMap
type, similar toResolversEnhanceMap
. 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