What’s the best practice around updating information received from the request?
Update all the columns with the values received in the request object? What if there are columns that should be updated when posted by admin and not by the regular user? We have a lot of such situations.
Should the backend check what attributes are getting a different value from what is saved in the DB?
P.S: We are using Dynamo and AWS API gateway and this is a serverless application