Closed tvdeyen closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.96%. Comparing base (
98293af
) to head (1447087
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What is this pull request for?
Without those ActiveModelSerializers can't find a serializer for the site and language relations in the PageSerializer which is used in the PageSelect. It delegates serialization to Rails which takes whatever serializer is responsible for to_json, which in some cases lead to nesting the site or language with it's own root key, which is not what we want.
Checklist