grpc-ecosystem/grpc-gateway
View on GitHubREST PUT request only passes fields to update
Open
#379 opened on May 5, 2017
documentationenhancementhelp wanted
Description
I'm trying to export REST APIs and the problem is that in my PUT request, client usually tries to pass only fields to update, but the generated proto will set all the other fields to its default value. I have no way to tell which fields to update.
Of course I can restrict client to always pass the full object, but is there better way to do this?