Skip to content

Conversation

@ollieabbey
Copy link

@ollieabbey ollieabbey commented Jan 6, 2026

What?

Add full field path to field config sanitize errors.

Why?

Helps locate where the incorrect configuration is. I am currently getting an error message

"A field with the name 'folder' was found multiple times on the same level. Field names must be unique." 

and I'm unsure which collection is causing the issue.

How?

Pass the full path to the field through, and concatenate with ' > ' to display the full path.

@ollieabbey ollieabbey changed the title chore: add context to duplicate field name error chore: add full field path to field sanitize errors Jan 6, 2026
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