---
description: Add the @deprecated JSDocs tag to fields.
---

# Deprecated Tag

To enable this optional feature, add the `deprecatedTag` element to your [optionalFeatures](../../api-documentation/configuration-reference/optional-features) array.

## Feature Effect

This feature modifies the generated Prisma Client to add the following lines to all fields defined inside the [deprecated](../../api-documentation/configuration-reference/deprecated) configuration option:

{% code title="Added Lines" %}
```typescript
/** @deprecated Text from configuration option */
```
{% endcode %}
