payload
payload copied to clipboard
fix(plugin-nested-docs): custom overrides of breadcrumb and parent fields
Description
fix #3692
- Overrides were not spread in the correct order in
createBreadcrumbsField - You can now use the create field functions without also needing to specify the
breadcrumbsFieldSlugorparentFieldSlug breadcrumbsFieldSlugwas not being used in the parent field filterOptions,resaveSelfAfterCreateorresaveChildrenhooksparentFieldSlugwas not being used inresaveChildren- custom
parentFieldSlugwas not being used ingetParents
- [x] I have read and understand the CONTRIBUTING.md document in this repository.
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] This change requires a documentation update
Checklist:
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] Existing test suite passes locally with my changes
- [x] I have made corresponding changes to the documentation