Skip to content

api component - #203

Open
ianinnes1 wants to merge 7 commits into
mainfrom
4-post-formquestions-api-endpoint
Open

api component#203
ianinnes1 wants to merge 7 commits into
mainfrom
4-post-formquestions-api-endpoint

Conversation

@ianinnes1

@ianinnes1 ianinnes1 commented Apr 16, 2024

Copy link
Copy Markdown
Contributor

Description

Relevant issue(s)

Questions

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have assigned reviewers to this PR

@ianinnes1
ianinnes1 requested a review from andlrutt April 16, 2024 20:35
@ianinnes1 ianinnes1 linked an issue Apr 16, 2024 that may be closed by this pull request

@andlrutt andlrutt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looking good! Just update the 404 to be a 400 (and maybe include some messages if you'd like!) and then also check the return value of createFormQuestions and return a 404 error if it's null.

Comment thread apps/form-builder/src/app/api/forms/[formId]/formQuestions/route.ts Outdated

@LSmith2174 LSmith2174 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just a tiny little fix and then it's all good to go!

Comment thread apps/form-builder/src/app/api/forms/[formId]/formQuestions/route.ts Outdated
Comment thread apps/form-builder/src/app/api/forms/[formId]/formQuestions/route.ts Outdated
changed error messages
debugging
@jMcMaho9
jMcMaho9 requested a review from andlrutt October 2, 2024 21:45
@jMcMaho9
jMcMaho9 dismissed stale reviews from LSmith2174 and andlrutt October 2, 2024 23:20

stale

@jMcMaho9 jMcMaho9 closed this Nov 19, 2024
@jMcMaho9 jMcMaho9 reopened this Nov 19, 2024
@jMcMaho9
jMcMaho9 requested a review from a user November 19, 2024 22:18
ghost
ghost previously approved these changes Nov 19, 2024

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

gtg

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.

POST FormQuestions API endpoint

5 participants