bagisto / rest-api

20 stars 21 forks source link

Decouple CartResource and CartController. #259

Closed kwidoo closed 1 month ago

kwidoo commented 2 months ago

In our project we had to use custom CartResource, so we did this code changes to decouple Resource and Controller. If resource method is not changed the flow will remain the same.

If changed, can accept both - interface or class

devansh-webkul commented 1 month ago

Thanks for the contribution.