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

Enable params on DELETE via config #160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

victoreduardoss
Copy link

What

Allow custom params on DELETE via config.

Why

The #157 reverted the possibility of passing params on DELETE action. However, our app uses shard databases and requires some extra params to identify which shard will be hit. In this change, we allow custom params on DELETE via config.

@victoreduardoss
Copy link
Author

hey @balvig, could you review and consider this change 🥺

@keithxm23
Copy link

keithxm23 commented Jun 13, 2024

You can still use url params like so:
DeleteBranch.request(:delete, 'projects/projectname/repos/reponame/branches?name=asd')

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.

None yet

3 participants