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

feature: add support for HTTP DELETE to Connection class and WithConn… #9

Merged
merged 1 commit into from
May 23, 2019

Conversation

TimCummings
Copy link
Contributor

…ection module

This adds Connection.delete similar to existing get, post, and put methods. I haven't added anything to BaseRecord to actually invoke delete. I figure as destructive is it could be, it could be up to users to implement their own access in their record class(es). But I'd be happy to add something to BaseRecord if you'd like.

Also, I opened this pull request from a branch matching your current master branch so you could review both of my open PRs in isolation. If it would be more helpful to merge them then submit a PR, I'm happy to do that. Thanks for this handy project!

@rikas
Copy link
Owner

rikas commented May 23, 2019

@TimCummings I didn't use the delete method, that's why it wasn't added.

Just out of curiosity, are you using master or 0.1.x branch?

@TimCummings
Copy link
Contributor Author

I'm using master.

@rikas rikas merged commit a004374 into rikas:master May 23, 2019
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