ConfigOverride using Nulls.AS_EMPTY does not work with JsonManagedReference #4758
Labels
2.18
has-failing-test
Indicates that there exists a test case (under `failing/`) to reproduce the issue
Search before asking
Describe the bug
configOverride for Lists work as expected, but if any of the lists is a ManagedReference, then the list is initialized with null instead of an empty list.
Version Information
2.17.1
Reproduction
Without
JsonManagedReference
andJsonBackReference
the children list is initialized with a non null value, but with these annotations it becomesnull
, but only after I add Value.forContentNulls, otherwise it would throw anIllegalStateException
.Expected behavior
List property
children
is initialized with an empty listAdditional context
No response
The text was updated successfully, but these errors were encountered: