How Mediator works with APIs? Suppose we have an API controller. It's going to have this RequestQuery object, think of it is just like an ID parameter. It's going to send this RequestQuery object to the mediator. The mediator decides which handler to invoke and sends this object onto that handler. The handler does the business logic it needs, creates the response objects it's supposed to create, and sends us back to the mediator. The mediator will then send it back to the API Controller.
-
Notifications
You must be signed in to change notification settings - Fork 0
NourNafea/Mediator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published