We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95df7ea commit 6b4b11cCopy full SHA for 6b4b11c
src/main/java/org/restheart/hal/metadata/singletons/SimpleContentChecker.java
@@ -294,7 +294,7 @@ private BasicDBList filterMissingOptionalAndNullNullableConditions(BasicDBList c
294
try {
295
props = JsonUtils.getPropsFromPath(content, path);
296
297
- if (props.stream().allMatch((Optional<Object> prop) -> {
+ if (props == null || props.stream().allMatch((Optional<Object> prop) -> {
298
return prop == null;
299
})) {
300
nullPaths.add(path);
0 commit comments