Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Specific configuration for methods invocations #3

Closed
javierbrea opened this issue Jan 11, 2020 · 2 comments
Closed

Specific configuration for methods invocations #3

javierbrea opened this issue Jan 11, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@javierbrea
Copy link
Member

In some scenarios could be desirable to modify configuration only for certain invocations to the provider methods. (For example, when passing an "idempotency-key" as an http header using "mercury-api" read method)

This options could be passed as a parameter to the "read" method, and should overwrite instance options only for that execution. For other methods, such as "create" or "update", options could be passed as second argument.

@javierbrea javierbrea added the enhancement New feature or request label Jan 11, 2020
@javierbrea
Copy link
Member Author

This issue was originally created at XbyOrange/mercury#33. That project seems to be no longer maintained, so it should be fixed in this one.

@javierbrea javierbrea self-assigned this Feb 22, 2020
@javierbrea
Copy link
Member Author

Parameters in read method are allowed from the v2.0.0 version, released in #37

javierbrea added a commit that referenced this issue May 26, 2022
javierbrea added a commit that referenced this issue May 26, 2022
Upgrade Mercury. Fix license
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant