Possibly small issue with updating project as well (maybe some other updates have the same issue). After updating, the response from BE is missing some fields. For example translation_domain_classifier_value field exists, when we just fetch an order, but doesn’t in the response of PUT request. We can work around it, but in a lot of places on FE we rely on the full upated object getting returned to update our local cache + reset forms. Would be good if we could get it working reliably 1 way or another in all places. if it will return the full object (same we get with GET request), then that would be perfect. If not, then we need to go over all the PUT requests and write some workarounds. Won’t start dealing working on the workarounds, before I get some input from Markus .
Possibly small issue with updating project as well (maybe some other updates have the same issue). After updating, the response from BE is missing some fields. For example translation_domain_classifier_value field exists, when we just fetch an order, but doesn’t in the response of PUT request. We can work around it, but in a lot of places on FE we rely on the full upated object getting returned to update our local cache + reset forms. Would be good if we could get it working reliably 1 way or another in all places. if it will return the full object (same we get with GET request), then that would be perfect. If not, then we need to go over all the PUT requests and write some workarounds. Won’t start dealing working on the workarounds, before I get some input from Markus .
Tested with: GET https://api.dev.tolkevarav.eki.ee/translation-order/api/projects/9a93edd1-3e9f-45e9-8c41-20430625f6f8 PUT https://api.dev.tolkevarav.eki.ee/translation-order/api/projects/9a93edd1-3e9f-45e9-8c41-20430625f6f8 Untitled_get.txt Untitled_put.txt
To-do: