Deprecated Tag

Add the @deprecated JSDocs tag to fields.

To enable this optional feature, add the deprecatedTag element to your optionalFeatures array.

Feature Effect

This feature modifies the generated Prisma Client to add the following lines to all fields defined inside the deprecated configuration option:

Added Lines
/** @deprecated Text from configuration option */

Last updated