Add field settings to enforce uniqueness of keys

Created on 28 April 2021, over 3 years ago
Updated 25 April 2023, over 1 year ago

Problem/Motivation

Sometimes you want the keys to be unique.
It would be great if we added a field-setting that had three options as follows:

  • not-unique - current functionality
  • unique per bundle - enforce that the key only exists once for a given bundle
  • globally unique - enforce that the key is unique to all bundles

Proposed resolution

Add the new feature and associated tests

Remaining tasks

The lot

User interface changes

API changes

Data model changes

Feature request
Status

Needs review

Version

1.3

Component

Code

Created by

🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy kopeboy Milan

    Is this different than integrating with unique_content_field_validation module (that is already integrated with other modules like feeds)?

Production build 0.71.5 2024