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

Callout Work #150

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Callout Work #150

wants to merge 13 commits into from

Conversation

iwillspeak
Copy link
Collaborator

Fixes #81

Sketches out the types for callout data.
This allows running builds + tests directy from Code.
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.
Support retrieving callout names from callouts.
Expose subject and contents strings from the `CaptureArgs`.
Copy link
Collaborator Author

@iwillspeak iwillspeak left a 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.

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

Successfully merging this pull request may close these issues.

Investigate Match Param Progress Callbacks
1 participant