msgraph-sdk-java-core
msgraph-sdk-java-core copied to clipboard
Microsoft Graph SDK for Java - Core Library
`LargeFileUploadTask`'s constructor does not check anymore whether the `available()` method of `InputStream` returns a positive number; as stated by the javadoc this method just makes an estimate of the available...
When creating a `LargeFileTaskUpload`, the constructor checks whether the stream has available bytes or not https://github.com/microsoftgraph/msgraph-sdk-java-core/blob/3d9a4611de682c0f5a890ade08f0c55f89e9092c/src/main/java/com/microsoft/graph/core/tasks/LargeFileUploadTask.java#L91, but, the [javadoc of InputStream.available()](https://download.java.net/java/early_access/valhalla/docs/api/java.base/java/io/InputStream.html#available()) clearly states that: > Returns an **estimate** of the...
Hi, I am facing issue when migrating to Microsoft Graph API 6 (6.4.0 currently). As proposed by @baywet in https://github.com/microsoftgraph/msgraph-sdk-java/issues/1845 I am opening new ticket. I see issues with batch,...
reflect changes in https://github.com/microsoftgraph/msgraph-sdk-java/pull/1987 to update the baseline not only this unblocks potential future PRs, but also increases our security posture since a lot of plugins were added since our...
Graph Core Version: 3.1.9 Kiota Version: 1.1.7 Affected Method: com.microsoft.graph.core.requests.ResponseBodyHandler#handleResponse Edit: [Added a comment](https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/1587#issuecomment-2079158077) explaining the reason of this behavior and changed the issue title. Microsoft Graph core returns an...
When the response code of an API call is `202 Accepted`, then `CoreHttpProvider` [calls handleEmptyResponse()](https://github.com/microsoftgraph/msgraph-sdk-java-core/blob/8ed0ef47205684d70d49b4ff3fc7dfbaf519956f/src/main/java/com/microsoft/graph/http/CoreHttpProvider.java#L455), which ignores the response body. This causes the `copyNotebook` operation in the microsoft-graph jar to...
We have at this moment decided to stick with Java 20 due to the current lack of support for Java LTS version 21, which released in September, among some of...
Code coverage results seem off. Sample PR: https://github.com/microsoftgraph/msgraph-sdk-java-core/pull/1485
There are classes used from Gson internal API com.google.gson.internal.Streams is used in com/microsoft/graph/serializer/ODataTypeParametrizedIJsonBackedTypedAdapter.java com.google.gson.internal.bind.ReflectiveTypeAdapterFactory is used in com/microsoft/graph/serializer/FallbackTypeAdapterFactory.java This is also the reason why this library cannot be used in...
Use the user Provided Interceptor as higher preference in the Interceptor chain Fixes #[bug 1757]( https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/1757) ### Changes proposed in this pull request - Currently there is no way to...