gitlab icon indicating copy to clipboard operation
gitlab copied to clipboard

Consider adding hooks/callbacks

Open reuben453 opened this issue 7 months ago • 1 comments

Allowing users of the gem to specify hooks to be called before, after and around each API call made by the gem can be useful in some situations.

For example:

  • Enforcing test modes in applications by preventing destructive API calls (non GET API calls) during test runs
  • Retrying transient API failures
  • Uniform handling of API failures (error logging is an example)

How do you feel about adding hooks to this gem?

reuben453 avatar Jun 02 '25 11:06 reuben453

@NARKOZ How do you feel about adding this functionality into the gem?

reuben453 avatar Jun 09 '25 06:06 reuben453

I'm open to the idea and will greatly accept pull requests.

NARKOZ avatar Jun 18 '25 20:06 NARKOZ

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 01 '25 02:10 github-actions[bot]