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

PRO-6876: implicit properties for reverse relationship projectionsnship projections #4857

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

boutell
Copy link
Member

@boutell boutell commented Feb 6, 2025

See changelog

@boutell boutell requested a review from myovchev February 6, 2025 07:40
@@ -1751,7 +1751,9 @@ module.exports = {
const add = [];
const remove = [];

// Add type in projection by default
// Add fundamentals by default to allow Apostrophe's core
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated update to clarify what happens here since it is more than just tpe

@@ -145,7 +148,8 @@ function getModules() {
label: 'Rel page',
type: 'relationship',
withType: 'default-page',
withRelationships: [ '_articles._topics' ],
// Intentionally revisits the articles in order to test reverse relationships
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally it would be silly to loop back like this but it's a simple way to test the reverse relationship.

@boutell boutell merged commit de05c12 into main Feb 7, 2025
9 checks passed
@boutell boutell deleted the pro-6876 branch February 7, 2025 12:52
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