Closed samjo-nyang closed 7 years ago
A drf default viewset supports GET, POST for list and GET, PUT, PATCH, DELETE for details
Problem: Our API spec does not support all of them -> need to disable some methods Solution:
Pros and Cons:
So...? Choose style between 1 and 2, or both (?)
please refer to
router 설정이 조금 더 귀찮을거 같다는 생각이 드는데.. ViewSet 메서드에 error response를 보내주는 decorator를 작성할 수 있다면(?) 그게 더 편하지 않을까 싶다는 생각이..
7/19 회의에서 지금 상태가 더 좋은 것 같다고 1번으로 하기로 결정되었습니다.
회의에서 결정되었으므로 이슈는 닫도록 하겠습니다.
A drf default viewset supports GET, POST for list and GET, PUT, PATCH, DELETE for details
Problem: Our API spec does not support all of them -> need to disable some methods Solution:
Pros and Cons:
So...? Choose style between 1 and 2, or both (?)