This appears to have a drawback. If we add some new field in the TaaS API but we don't update the form then fields that are not supported by the form would be reset to null and cause issue like this https://github.com/topcoder-platform/taas-apis/issues/260
Taks:
we have to use PATCH requests instead of PUT to make it totally safe, so we never would lost any fields
we have to make sure that we still can clear data in the form for optional fields and the server would accept it and correctly clear that data
In the TaaS App we have the ability to:
Internally, when save update we use
PUT
request:This appears to have a drawback. If we add some new field in the TaaS API but we don't update the form then fields that are not supported by the form would be reset to
null
and cause issue like this https://github.com/topcoder-platform/taas-apis/issues/260Taks:
PATCH
requests instead ofPUT
to make it totally safe, so we never would lost any fields