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

adds QueryableOptions.assertNoFailure to treat errors as fatalError #64

Merged
merged 3 commits into from
Feb 5, 2025

Conversation

ChristophKaser
Copy link
Contributor

Allows to set queryableOptions to QueryableOptions.assertNoFailure to treat errors as fatal.

See #63 (comment)

Copy link
Owner

@groue groue left a comment

Choose a reason for hiding this comment

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

Thank you very much @ChristophKaser, this is a very sensible pull request 👍

We also need to add:

/// - ``assertNoFailure``

above async in the "Predefined options" section of the QueryableOptions documentation at the top of the file.

And I suggest one documentation change below, if you are ok.

ChristophKaser and others added 2 commits February 4, 2025 12:08
Don't reference implementation internals in the documentation

Co-authored-by: Gwendal Roué <gr@pierlis.com>
@ChristophKaser
Copy link
Contributor Author

Thank you for your review! I have committed your change to the documentation and added assertNoFailure to the predefined options section.

@ChristophKaser ChristophKaser requested a review from groue February 4, 2025 11:12
Copy link
Owner

@groue groue left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@groue groue merged commit ca663c1 into groue:main Feb 5, 2025
@groue
Copy link
Owner

groue commented Feb 5, 2025

I'll ship a new version shortly.

@ChristophKaser
Copy link
Contributor Author

Great, thank you! :)

@groue
Copy link
Owner

groue commented Mar 15, 2025

Hi @ChristophKaser. Version 0.11.0 is out, with your pull request baked in. Thank you very much! 🚀

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

Successfully merging this pull request may close these issues.

2 participants