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

Make updateOneBase dto type partial #679

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bertyhell
Copy link

According to these docs it should be partial:

Request Body: resource object (or partial) | resource object with nested (relational) resources (or partial)

https://github.com/nestjsx/crud/wiki/Controllers#update-one-resource

Without this you get errors like this when you try to update one property in an entity:
image

According to these docs it should be partial:
> Request Body: resource object (or partial) | resource object with nested (relational) resources (or partial)

https://github.com/nestjsx/crud/wiki/Controllers#update-one-resource
@rewiko rewiko mentioned this pull request Nov 28, 2021
19 tasks
@rewiko
Copy link
Collaborator

rewiko commented Nov 28, 2021

Merged on rewiko#5

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