File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/org/springframework/graphql/data
test/java/org/springframework/graphql/data Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 46
46
*/
47
47
public final class ArgumentValue <T > {
48
48
49
- private static final ArgumentValue <?> OMITTED = new ArgumentValue <>(null , false );
49
+ private static final ArgumentValue <?> OMITTED = new ArgumentValue <>(null , true );
50
50
51
51
52
52
@ Nullable
Original file line number Diff line number Diff line change @@ -230,8 +230,8 @@ void primaryConstructorWithOptionalArgumentBeanArgument() throws Exception {
230
230
itemBean = (PrimaryConstructorOptionalArgumentItemBean ) result ;
231
231
232
232
assertThat (itemBean ).isNotNull ();
233
- assertThat (itemBean .getItem ().isOmitted ()).isFalse ();
234
- assertThat (itemBean .getName ().isOmitted ()).isFalse ();
233
+ assertThat (itemBean .getItem ().isOmitted ()).isTrue ();
234
+ assertThat (itemBean .getName ().isPresent ()).isFalse ();
235
235
}
236
236
237
237
@ Test
You can’t perform that action at this time.
0 commit comments