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

Fix redirects after MikroORM v6 upgrade #3148

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

Conversation

johnnyomair
Copy link
Collaborator

Description

Loading the redirects failed with the error ValidationError: Invalid query for entity 'Redirect', property 'toJSON' does not exist in embeddable 'RedirectScope'. This is likely due to changes made to implicit serialization. We fix this by using the nonEmptyScopeOrNothing helper, which should be used anyway.

Acceptance criteria

Further information

@johnnyomair johnnyomair self-assigned this Jan 15, 2025
@johnnyomair johnnyomair requested a review from fraxachun January 15, 2025 08:13
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.

5 participants