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

✨ Add PATCH method #15

Merged
merged 3 commits into from Oct 22, 2020
Merged

✨ Add PATCH method #15

merged 3 commits into from Oct 22, 2020

Conversation

Wytamma
Copy link
Owner

@Wytamma Wytamma commented Oct 22, 2020

Added PATCH method for modifying items. Biggest problems were using exclude_unset in the schema to only get set params and setting each schema field to optional. Looks like there is a bug in FASTAPI (tiangolo/fastapi#717), so had to set an empty response for the return of all the 204 methods.

@Wytamma Wytamma merged commit a4fce6c into master Oct 22, 2020
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

1 participant