Closed niekvanderkooy closed 1 month ago
1.44.0
Map<String, Object> data = new HashMap<>(); data.put("id", 1); data.put("someNullField", null); RequestOptions options = RequestOptions.create(); options.setData(data); apiRequestContext.post("endpoint", data);
someNullField to be sent to the API as data, with value null
someNullField
null
someNullField is filtered out.
Similar bug seems to has been fixed in other language libraries (dotnet issue: https://github.com/microsoft/playwright-dotnet/issues/2509 )
Java 21
Version
1.44.0
Steps to reproduce
Expected behavior
someNullField
to be sent to the API as data, with valuenull
Actual behavior
someNullField
is filtered out.Additional context
Similar bug seems to has been fixed in other language libraries (dotnet issue: https://github.com/microsoft/playwright-dotnet/issues/2509 )
Environment
Java 21