Open pastewka opened 6 months ago
The code currently directly interacts with the REST API, in the sense that individual components issue GET, PUT etc. requests and consume the output.
GET
PUT
This issue suggests refactoring part of this code to mirror backend ORM classes in the frontend.
Suggested steps:
django-spectacular
openapi-ts
A key advantage of this is:
See also: https://github.com/ContactEngineering/topobank/issues/1094
The code currently directly interacts with the REST API, in the sense that individual components issue
GET
,PUT
etc. requests and consume the output.This issue suggests refactoring part of this code to mirror backend ORM classes in the frontend.
Suggested steps:
django-spectacular
openapi-ts
A key advantage of this is: