Skip to content

Instantly share code, notes, and snippets.

View hill's full-sized avatar
🤙
Hello!

Tom Hill hill

🤙
Hello!
View GitHub Profile
@seralexeev
seralexeev / RPC.md
Last active February 7, 2023 22:39

RPC / REST

ControllerInvoker is a base part of the request handling pipeline.

  • it is responsible for invoking the endpoint handler with the correct arguments.
  • it is responsible for getting the user from headers / cookies / etc.
  • ControllerInvoker can be a controller itself. If we do integration with a service that doesn't have much logic in it
  • we use class field method names with namespace as a endpoint name