Closed milessabin closed 10 months ago
Attention: 16 lines
in your changes are missing coverage. Please review.
Comparison is base (
b5b703c
) 72.39% compared to head (63f8368
) 72.48%. Report is 2 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
modules/sql/shared/src/main/scala/SqlMapping.scala | 84.15% | 16 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The handling of empty SQL subobjects (previously represented by a context-free singleton
EmptySqlQuery
) was incorrect in several scenarios.This showed up in particular in mixed mappings where non-SQL fields were nested in SQL objects. This manifested itself as unexpectedly empty arrays of subobjects, or possibly hit previously unimplemented methods of
EmptySqlQuery
. Both are fixed by ensuring that SQL ids are included when we, in effect, "join" a SQL with a non-SQL object.EmptySqlQuery
is now a non-singleton and has a context and the unimplemented methods have been either implemented or removed.