Question Controller #168
Closed
radthenone
started this conversation in
General
Replies: 1 comment 2 replies
-
@radthenone can you explain the problem with code examples? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have services and controllers. My Model1.service have method in controller to create with model.save() in repository model, but i use redis pub/sub to communicate between services. So Model1Service method create model in queryset but no create it in DB because method not ends and publisher send and wait for response from Model2Service and now i have problemvbecause handler in Model2Service listen publisher from Model1 but when i want create nested model this cant be create with ID from Model1 because Nothing exists in DB table. My question is controller with route.post have inside transactions ? can i off this or something? Comands in repository works fine and create data in table but not when i use controller
Beta Was this translation helpful? Give feedback.
All reactions