Skip to content

[5.x] Fix config through Antlers views#14328

Merged
jasonvarga merged 3 commits into5.xfrom
antlers-config
Mar 24, 2026
Merged

[5.x] Fix config through Antlers views#14328
jasonvarga merged 3 commits into5.xfrom
antlers-config

Conversation

@jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Mar 24, 2026

Fix how the config is used through antlers fields.

duncanmcclean and others added 3 commits March 19, 2026 18:13
in antlers_fields_gets_allowlisted_config_only_in_view, the cascade should've been spread, but since it wasnt explicitly hydrated, it'd just be an empty array anyway. the view render is what is hydrating it.

in view_gets_full_config_but_antlers_parse_gets_allowlisted_config_only it was sort of the same issue. the Antlers::parse() block was only passing because the view hydrated the cascade. it was passing by fluke.
@jasonvarga jasonvarga marked this pull request as ready for review March 24, 2026 03:11
@jasonvarga jasonvarga merged commit 72768d7 into 5.x Mar 24, 2026
28 checks passed
@jasonvarga jasonvarga deleted the antlers-config branch March 24, 2026 03:14
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