You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.
Sometimes we need an API endpoint that just supports a POST or a command in CQRS terms.
Today we have a hack that people use which looks like the following
This is not the optimal way of doing it because the authorization step in the pipeline follows the conventions of the CrudResource. i.e. the authorization step says
defauthorize_create_detail(self, request):
pass
Whereas it should ideally be
defauthorize_command(self, request):
pass
The text was updated successfully, but these errors were encountered:
uttamk
added this to the
command_and_view_resource milestone
Jan 19, 2016
Sometimes we need an API endpoint that just supports a POST or a command in CQRS terms.
Today we have a hack that people use which looks like the following
This is not the optimal way of doing it because the authorization step in the pipeline follows the conventions of the CrudResource. i.e. the authorization step says
Whereas it should ideally be
The text was updated successfully, but these errors were encountered: