Skip to content

docs: update field types and data model for validation capabilities#91

Merged
ManukMinasyan merged 1 commit into3.xfrom
feat/validation-capabilities
Feb 24, 2026
Merged

docs: update field types and data model for validation capabilities#91
ManukMinasyan merged 1 commit into3.xfrom
feat/validation-capabilities

Conversation

@ManukMinasyan
Copy link
Collaborator

Replace deprecated availableValidationRules/ValidationRule enum with withValidationCapabilities in the StarRating example and API reference. Clarify validation_rules column stores capability-driven config.

Replace deprecated availableValidationRules/ValidationRule enum with
withValidationCapabilities in the StarRating example and API reference.
Clarify validation_rules column stores capability-driven config.
Copilot AI review requested due to automatic review settings February 24, 2026 08:50
@ManukMinasyan ManukMinasyan merged commit 3c291c1 into 3.x Feb 24, 2026
2 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates documentation to reflect the newer capability-based validation configuration model, replacing deprecated validation-rule enum references and clarifying what’s stored in custom_fields.validation_rules.

Changes:

  • Clarify that custom_fields.validation_rules stores capability-driven configuration (not raw Laravel rule strings).
  • Update the StarRating field type example to use withValidationCapabilities(...) instead of the deprecated availableValidationRules(...) / ValidationRule enum.
  • Update the FieldSchema chaining “API reference” snippet to reflect withValidationCapabilities(...).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/content/2.essentials/6.data-model.md Updates validation_rules column description to reflect capability-driven config storage.
docs/content/2.essentials/3.field-types.md Replaces deprecated validation-rule enum usage with capability-based validation configuration in examples/snippets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants