Skip to content

feat: add parent and referencing-entry rule types - #2

Merged
Bahbv merged 1 commit into
mainfrom
feat/entry-level-rules
Jul 29, 2026
Merged

feat: add parent and referencing-entry rule types#2
Bahbv merged 1 commit into
mainfrom
feat/entry-level-rules

Conversation

@Bahbv

@Bahbv Bahbv commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Dependencies rendered by a collection's own template previously had no config vocabulary, forcing host apps to subclass the invalidator and override customEntryUrls(). Two new rule types cover that:

  • ['parent' => true]
  • ['collection' => 'handle', 'field' => 'field_handle']

Also partitions rules by type before block matching, which fixes an undefined-key warning on any rule without a 'block' key.

Dependencies rendered by a collection's own template previously had no
config vocabulary, forcing host apps to subclass the invalidator and
override customEntryUrls(). Two new rule types cover that:

- ['parent' => true]
- ['collection' => 'handle', 'field' => 'field_handle']

Also partitions rules by type before block matching, which fixes an
undefined-key warning on any rule without a 'block' key.
@Bahbv
Bahbv merged commit 1be3875 into main Jul 29, 2026
1 check passed
@Bahbv
Bahbv deleted the feat/entry-level-rules branch July 29, 2026 13:29
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