Skip to content

TangibleFieldsRenderer: Centralize fields args formatting#51

Open
nicolas-jaussaud wants to merge 3 commits into
mainfrom
refactor/fields-renderer-centralize-formatting
Open

TangibleFieldsRenderer: Centralize fields args formatting#51
nicolas-jaussaud wants to merge 3 commits into
mainfrom
refactor/fields-renderer-centralize-formatting

Conversation

@nicolas-jaussaud

@nicolas-jaussaud nicolas-jaussaud commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Currently just a draft as it will conflict if PR#50 is merged

I noticed we currently apply a similar formatting in different places for fields args:

This is just a proposition to centralize this behavior, and make sure we format fields and subfields consistently regardless of where they are rendered

I also added a throw when we attempt to use an unsupported field type as a repeater subfield (here) instead of a silent fallback to text, but it can be changed back if needed

@nicolas-jaussaud nicolas-jaussaud marked this pull request as ready for review June 27, 2026 15:09
@nicolas-jaussaud nicolas-jaussaud requested a review from zinigor June 27, 2026 15:10
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