Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract CollectionComponent and NonCollectionComponent from DocumentC… #1153

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcoyne
Copy link
Member

@jcoyne jcoyne commented Oct 12, 2022

…omponent

This eliminates a number of conditionals around whether the document is a collection or not.
Fixes #1150

@jcoyne jcoyne marked this pull request as draft October 12, 2022 13:02
@jcoyne
Copy link
Member Author

jcoyne commented Oct 12, 2022

This may be unnecessary given #1148

…omponent

This eliminates a number of conditionals around whether the document is a collection or not.
@cbeer
Copy link
Member

cbeer commented Oct 12, 2022

I was hoping to wait on something like this until we were sure how these two differed. It was really hard to see before when it was spread across lots of files, so I imagine some of the differences are just unintentional divergence 🤞

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.

DocumentComponent has too many conditionals around collection? in the template
2 participants