Skip to content

Commit

Permalink
feat: [OData V4] Improve BatchRequestBuilder (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatKuhr authored Jan 23, 2025
1 parent 101d4b1 commit 65970f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
* operations in one HTTP request.
*/
public class BatchRequestBuilder extends AbstractRequestBuilder<BatchRequestBuilder, BatchResponse>
implements
ModificationRequestBuilder<BatchResponse>
{
private final ODataRequestBatch delegate;

Expand Down Expand Up @@ -125,12 +127,7 @@ public BatchRequestBuilder addChangeset( @Nonnull final ModificationRequestBuild
return this;
}

/**
* Deactivates the CSRF token retrieval for this OData request. This is useful if the server does not support or
* require CSRF tokens as part of the request.
*
* @return The same builder
*/
@Override
@Nonnull
public BatchRequestBuilder withoutCsrfToken()
{
Expand Down
2 changes: 1 addition & 1 deletion release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

### 📈 Improvements

-
- Improve the OData V4 class `BatchRequestBuilder` to now also implement the `ModificationRequestBuilder` interface.

### 🐛 Fixed Issues

Expand Down

0 comments on commit 65970f8

Please sign in to comment.