1161 bug new api duplicate links object in get one api responses#2054
1161 bug new api duplicate links object in get one api responses#2054osaerdna wants to merge 2 commits into
Conversation
|
The change in the api (no self reference inside the data entity) break the implementation of python-hashtopolis that relies on that one when creating objects. I will check if there is a way to implement a backward compatible fix, otherwise I would appreciate some guidance on how to move forward with this one. |
|
I have looked at the code and I think it might be better after all to keep the duplicate uri. it is only for getOne requests and by keeping it it is easier for clients to use the api and not have to switch between to many to one cases. Just like we see now in the hashtopolis.py case |
|
I agree with that. I will close this pr and update the ticket with this info. Thanks. |
|
Changed requirements, removing the links data property break existing clients and is not worth it at the moment. |
AbstractBaseAPI::obj2ResourcetoAbstractModelAPI::getManyResourcestest_http_methods.pyI have made some manual testing in the web-ui and cant see that anything breaks with the change.
@jessevz, please add other reviewer as you see fit.