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

introduce GooseRequest and builder pattern #373

Merged
merged 8 commits into from
Nov 2, 2021

Conversation

jeremyandrews
Copy link
Member

@jeremyandrews jeremyandrews commented Oct 29, 2021

  • API change: introduce GooseRequest and GooseRequestBuilder for more flexibility when making requests
    o remove GooseUser::post_named, GooseUser::head_named, GooseUser::delete_named, GooseUser::goose_get, GooseUser::goose_put, GooseUser::goose_head, GooseUser::goose_put, GooseUser::goose_patch, GooseUser::goose_delete, and GooseUser::goose_send
    o adds or modifies helpers GooseUser::get, GooseUser::get_named, GooseUser::post, GooseUser::post_form, GooseUser::post_json, GooseUser::head, and GooseUser::delete
    o replaces GooseUser::goose_send with GooseUser::request which accepts a GooseRequest object
    o fixes [errors updated to success with set_success() show up in error summary #370] (see GooseRequestBuilder::expect_status_code)

@jeremyandrews jeremyandrews requested a review from LionsAd October 29, 2021 16:01
@jeremyandrews jeremyandrews changed the title [WIP] introduce GooseRequest and builder pattern introduce GooseRequest and builder pattern Nov 1, 2021
@jeremyandrews jeremyandrews requested a review from LionsAd November 1, 2021 07:47
Copy link
Collaborator

@LionsAd LionsAd left a comment

Choose a reason for hiding this comment

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

RTBM

@jeremyandrews jeremyandrews merged commit 183b857 into tag1consulting:main Nov 2, 2021
@jeremyandrews jeremyandrews mentioned this pull request Nov 2, 2021
@jeremyandrews jeremyandrews deleted the errors branch November 3, 2021 07:38
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