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

Partial Failure #105

Open
colespencer1453 opened this issue Jan 7, 2023 · 1 comment
Open

Partial Failure #105

colespencer1453 opened this issue Jan 7, 2023 · 1 comment

Comments

@colespencer1453
Copy link

colespencer1453 commented Jan 7, 2023

Hello!

I really love the idea of using this package as well as Ardalis.GuardClause.

One of my projects requires saving to a data store that is outside of my control and doesn't work as a transaction.

Because of that it is possible for partial data failure.

I'd like to return to the user the error result, while also capturing what succeeded like a 207 response.

Is there an easy way to do that with this package or by extending it?

@ardalis
Copy link
Owner

ardalis commented Jan 10, 2023

I could see needing this. Without doing a bit of research I'm not sure if you can easily extend the package to support it yourself, but if not I'd certainly be open to a PR that adds the support to the package itself.

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