You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the following error while using Graph SDK for Java. Upon investigating the cause, I found that an immutable object from Collections.emptyList() was assigned to com.microsoft.kiota.BaseRequestConfiguration#options
Thanks for creating a related issue!
The fix seems pretty straight forward here, we should assign a new array list instead of using that static method.
Would you be willing to submit a pull request for it?
I encountered the following error while using Graph SDK for Java. Upon investigating the cause, I found that an immutable object from
Collections.emptyList()
was assigned tocom.microsoft.kiota.BaseRequestConfiguration#options
Is it possible to change this initial value to a mutable list? Is there any specific reason why an immutable list is being actively used?
kiota-java/components/abstractions/src/main/java/com/microsoft/kiota/BaseRequestConfiguration.java
Lines 11 to 28 in 5079c15
The text was updated successfully, but these errors were encountered: