-
Notifications
You must be signed in to change notification settings - Fork 41
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
Callout Work #150
base: main
Are you sure you want to change the base?
Callout Work #150
Conversation
Sketches out the types for callout data.
This allows running builds + tests directy from Code.
9581b38
to
6cb0aea
Compare
Expose some of the properties on the `CalloutArgs`. Allow registering objects which implement `Callout` on the match param. Still TODO: * Dropping of callout * Register global callout
Introduce getter for stack use.
This function overwrites the callout data, rather than adding. Update the API name to match that.
Now match params are passed as references the tests need updating to match.
Bump the major version, and MSRV. This is needed due to the API breaking change introduced in `search_with_param` and `match_with_param`. It also allws us to bump the MSRV to support our switch to Rust 2021.
1905650
to
35adc35
Compare
Support retrieving callout names from callouts.
Expose subject and contents strings from the `CaptureArgs`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes the public API of the match_with_param
and search_with_param
functions to allow sharing a match param between more than one call. This seems like the better API, and
if we're bumping to 2021 we might as well. I don't imagine it will be too much of an issue as those
aren't the most widely used parts of the API.
Fixes #81