1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

docs: Document the min and max lengths of a feature name. (#2188)

## What

This change adds a the min and max lengths allowed for a feature
toggle name to the feature toggle docs.

## Why

As was mentioned in #2185, this isn't documented anywhere as of today,
making it a potentially surprising issue to come across.
This commit is contained in:
Thomas Heartman 2022-10-13 10:26:11 +02:00 committed by GitHub
parent 33c084dd0f
commit 13ea873057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ Each feature toggle has the following configuration options
| Option | Required? | Default value | Description |
| --- | --- | --- | --- |
| name | Yes | N/A | The feature toggle's name. Must be URL-friendly according to [section 2.3 of RFC 3986](https://www.rfc-editor.org/rfc/rfc3986#section-2.3) and must be unique within your Unleash instance. |
| name | Yes | N/A | The feature toggle's name. Must be URL-friendly according to [section 2.3 of RFC 3986](https://www.rfc-editor.org/rfc/rfc3986#section-2.3) and must be unique within your Unleash instance. Must be between 1 and 100 characters long, inclusive. |
| feature toggle type | Yes | Release | The [feature toggle's type](../advanced/feature-toggle-types.md). |
| project | Yes | The [default project](../user_guide/projects.md#the-default-project). When created from a project page in the admin UI, that project will be the default value instead. | The [project](../user_guide/projects.md) that should contain the feature toggle. |
| description | No | N/A | A description of the feature toggle's purpose. |