- 🇮🇱Israel jsacksick
Just a reroll, this will likely never get in, but still need this for now in a project.
Currently, exceptions are returned in English (by design), which makes it hard for a frontend to display a localized relevant error message.
I'm going to submit a patch that translates the exceptions, however I'm not convinced this is the right thing to do.
The right thing to do would be to copy core's approach for returning violations, See Drupal\jsonapi\Exception\UnprocessableHttpEntityException. However this works only for validating entities and their fields right now...
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Just a reroll, this will likely never get in, but still need this for now in a project.