Skip to content

Conversation

MatKuhr
Copy link
Member

@MatKuhr MatKuhr commented Aug 15, 2024

Context

Fix for #542

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Error handling created / updated & covered by the tests above
  • Documentation updated
  • Release notes updated

@MatKuhr MatKuhr added please merge Request to merge a pull request please review Request to review a pull request labels Aug 15, 2024
Co-authored-by: Alexander Dümont <[email protected]>
* @throws ODataResponseException
* When the response code infers an unhealthy state, i.e. when >= 400.
* @throws ODataServiceErrorException
* When the response contains an OData error message according to specification.
*/
static void requireHealthyResponse( @Nonnull final ODataRequestResult result )
{
final ODataRequestGeneric request = result.getODataRequest();
ODataRequestGeneric request = result.getODataRequest();
Copy link
Contributor

@newtork newtork Aug 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Comment)

I would prefer if this variable was called origin or originRequest, hoping next time I will understand getODataRequest() and getHttpResponse() are not directly connected! 🙈

newtork
newtork previously approved these changes Aug 19, 2024
@MatKuhr MatKuhr enabled auto-merge (squash) August 19, 2024 15:24
@MatKuhr MatKuhr merged commit 7e21526 into main Aug 20, 2024
14 checks passed
@MatKuhr MatKuhr deleted the fix/odata-batch-response-errorhandling branch August 20, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
please merge Request to merge a pull request please review Request to review a pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants