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

api generation: PATCH #232

Open
Teelevision opened this issue Sep 29, 2020 · 0 comments
Open

api generation: PATCH #232

Teelevision opened this issue Sep 29, 2020 · 0 comments
Labels
T::Feature New feature; Major enhancement

Comments

@Teelevision
Copy link
Contributor

PATCH operations should update only the attributes that are provided and leave the rest untouched. Currently the generated api code does not provide any means for the called code to observe whether an attribute was set to its default value (should be updated) or whether it was omitted (should remain untouched).

Also think about whether it would be correct and whether we should support setting an attribute to null to reset it to its default value or delete it, and how we would pass along this info.

@Teelevision Teelevision added the T::Feature New feature; Major enhancement label Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T::Feature New feature; Major enhancement
Development

No branches or pull requests

1 participant