8000 feat(/functions): adds POST /functions, DELETE /functions and PATCH /functions by i-pip · Pull Request #118 · supabase/postgres-meta · GitHub
[go: up one dir, main page]

Skip to content

feat(/functions): adds POST /functions, DELETE /functions and PATCH /functions #118

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

Merged
merged 9 commits into from
Jul 16, 2021

Conversation

i-pip
Copy link
Contributor
@i-pip i-pip commented Jun 19, 2021

Implements missing methods (POST & DELETE)

What kind of change does this PR introduce?

What is the current behavior?

Currently list and get methods are implemented on /functions route - #115

What is the new behavior?

Adds POST /functions (implemented by create method) and DELETE /functions (implemented by remove)

  • GET /functions
  • GET /functions/:id
  • POST /functions
  • DELETE /functions/:id
  • PATCH /functions/:id
    Function properties that can be changed
    • Name
    • Schema

@i-pip i-pip changed the title [WIP] feat(/functions): adds POST /functions and DELETE /functions feat(/functions): adds POST /functions, DELETE /functions and PATCH /functions Jul 7, 2021
Copy link
Member
@w3b6x9 w3b6x9 left a comment

Choose a reason for hiding this comment

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

@i-pip awesome job on the PR so far! Left you a couple of comments. Please let me know if you have any questions or concerns regarding my review and I'll be here to answer. We would love to merge in these changes as soon as possible!

@i-pip
Copy link
Contributor Author
i-pip commented Jul 14, 2021

Thank you for all the feedback @w3b6x9 🙌 making the requested changes now - I love it here!

Copy link
Member
@w3b6x9 w3b6x9 left a comment

Choose a reason for hiding this comment

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

@i-pip thank you so much for your quick changes to my previous review. I left you some more comments with change requests. Again, please don't hesitate to reach out if anything comes up and thanks for your patience.

Also, checklist was just added to the README. Since you did all the hard work, feel free to rebase develop and check off functions as part of your PR!

< 8000 span data-view-component="true">
@@ -14,15 +14,15 @@ console.log('Running tests on ', URL)
describe('/', () => {
it('GET', async () => {
const res = await axios.get(`${URL}/`)
assert.equal(res.status, STATUS.SUCCESS)
assert.equal(!!res.data.version, true)
assert.strictEqual(res.status, STATUS.SUCCESS)
Copy link
Member

Choose a reason for hiding this comment

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

@i-pip thanks for updating all of these to strictEqual!

Copy link
Member
@w3b6x9 w3b6x9 left a comment

Choose a reason for hiding this comment

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

@i-pip awesome job on this PR! thanks again for the quick turnaround on changes!

@github-actions
Copy link

🎉 This PR is included in version 0.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

avallete pushed a commit that referenced this pull request May 13, 2025
feat(/functions): adds POST /functions, DELETE /functions and PATCH /functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0