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

feat: first draft end to end Create API #23

Merged
merged 7 commits into from
Aug 18, 2024
Merged

Conversation

MaikelVeen
Copy link
Contributor

This PR implements the first end to end implementation for the Create endpoint.
As followup the following needs to be done for this endpoint to be complete:

  • [] Return the created item
  • [] Catch unique violation constraints and ensure those are returned as BadRequest
  • [] Implement the ErrorHandler
  • [] Set the UUID if client did not set it

🚀 Features

  • Add a NoopLogger to help in tests
  • Implement unmarshal in ItemsCreate
  • Connect handler with repository
  • Add migrate command

🚜 Refactor

  • Add metadata to Item, remove path and add back DisplayName

@MaikelVeen MaikelVeen merged commit e529102 into main Aug 18, 2024
1 check passed
@MaikelVeen MaikelVeen deleted the feat/implement-creation branch August 18, 2024 14:00
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.

1 participant