We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
there is an inconsistency of returning types when translation is empty it's returning array instead of object
no translations
{ "id":1, "translations": [] }
there are translations
{ "id":1, "translations": { "en":{ "title":"test", "content":"test", "locale":"en" }, "de":{ "title":"test de", "content":"test de", "locale":"de" } } }
maybe it's should return {} or null if there are no translations
The text was updated successfully, but these errors were encountered:
well, I took a look at why it's serializing an array. it's because of symfony/symfony#37061 and symfony/symfony#37049
Sorry, something went wrong.
@yalagin thank you for reporting. I'm closing it since it's Symfony issue
No branches or pull requests
there is an inconsistency of returning types when translation is empty it's returning array instead of object
no translations
there are translations
maybe it's should return {} or null if there are no translations
The text was updated successfully, but these errors were encountered: