msgraph-sdk-java
msgraph-sdk-java copied to clipboard
GetRequestConfiguration.queryParameters is wrongly annotated as Nullable
Describe the bug
com.microsoft.graph.users.UsersRequestBuilder.GetRequestConfiguration#queryParameters is annotated as @Nullable, giving an IDE warning. However, it is always initialized to a non-null value.
_graphClient.users().get(config -> {
config.queryParameters.select = new String[] { ... };
// ^^^^^^^^^^^^^^^^^^^ Warning here, because it might be null
});
Expected behavior
No IDE warning.
How to reproduce
Install SDK in IntelliJ and past the above code.
SDK Version
6.26.0
Latest version known to work for scenario above?
No response
Known Workarounds
Silence IDE warning for that line.
Debug output
No response
Configuration
No response
Other information
No response
Hi, I’d like to work on this issue. Can you assign it to me?