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

Add support for multi-site entries #5

Merged
merged 2 commits into from
Jan 6, 2024
Merged

Add support for multi-site entries #5

merged 2 commits into from
Jan 6, 2024

Conversation

fjahn
Copy link
Contributor

@fjahn fjahn commented Dec 21, 2023

Currently, multi-site entries cannot be created because the author field on the derived entry is always empty. By using augmentedValue instead of just get, the author field does not have to be filled by the current entry directly, but can also be inherited from an origin entry.

This makes sure the author is correctly fetched when dealing with entries that are derived from other origin entries, which is common on multi-site projects.
@doefom doefom merged commit 58c202c into doefom:main Jan 6, 2024
@doefom
Copy link
Owner

doefom commented Jan 6, 2024

@fjahn thank you very much for your PR! Just merged it, seems to work perfectly.

@fjahn fjahn deleted the patch-1 branch January 10, 2024 08:44
@fjahn
Copy link
Contributor Author

fjahn commented Mar 7, 2024

Thank you for merging @doefom! Can you publish a new version that contains the fix?

@doefom
Copy link
Owner

doefom commented Mar 7, 2024

Ah sorry @fjahn, new release should be available now. Thanks again!

@fjahn
Copy link
Contributor Author

fjahn commented Mar 7, 2024

@doefom, thanks, but I still can't find 0.1.1 on packagist. Did you miss some additional step, or am I just too impatient? (I do not really know how packagist works)

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