Skip to content

docs(api): an array item in a field error's path is named by its index - #44

Merged
mokevnin merged 1 commit into
mainfrom
docs/array-index-in-field-errors
Nov 16, 2026
Merged

mokevnin merged 1 commit into
mainfrom
docs/array-index-in-field-errors

Conversation

@mokevnin

Copy link
Copy Markdown
Contributor

Summary

 errors names the property by its path: content.subjct
+An item of an array is named by its index, counted from 0: condition.rules.1.field

Evidence

The API answers condition.rules.1.rules.1.bogus for a property refused in a nested Segment condition rule (getsphericon/sphericon#1497).

Merge Danger

Door: two-way

Blast Radius: docs

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mokevnin
mokevnin merged commit 38a4cbf into main Nov 16, 2026
2 checks passed
@mokevnin
mokevnin deleted the docs/array-index-in-field-errors branch November 16, 2026 14:02
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.

1 participant