Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isFailure(any) not checking for batch requests #31

Open
phjdreef opened this issue Dec 24, 2020 · 1 comment
Open

isFailure(any) not checking for batch requests #31

phjdreef opened this issue Dec 24, 2020 · 1 comment

Comments

@phjdreef
Copy link

After a succesfull request to saveFHIRResources with a bundle of objects, The isFailure is not working for individual errors:
If the status is for example 422, the master request is succesfull, but is doesn't check for indivual errors.

How to check if there is an error in a batch/transaction call ?

@ruscoder
Copy link
Member

Hi @pdreef-meditools!

I haven't seen your issue, but in general, for transactions, it is not an issue, since the transaction will be failed if one of the entries is failed, and for batches, we don't have an ability to check it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants