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

Empty relations are skipped #77

Closed
limenet opened this issue Apr 17, 2024 · 0 comments · Fixed by #78
Closed

Empty relations are skipped #77

limenet opened this issue Apr 17, 2024 · 0 comments · Fixed by #78
Assignees

Comments

@limenet
Copy link
Member

limenet commented Apr 17, 2024

\Valantic\ElasticaBridgeBundle\Document\DataObjectNormalizerTrait::relationAttributes skips empty relations completely, hence the attribute is missing from the ES document. Either allow an optional default value (no BC break) or provide sane defaults (BC break).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant