aqueduct icon indicating copy to clipboard operation
aqueduct copied to clipboard

Add ability to @Bind to request's attachments.

Open Aldo111 opened this issue 5 years ago • 1 comments

It'd be great to have syntactic sugar to do something like below to clearly access middleware data passed to endpoint controller.

@Bind.attachment('user_id')

Aldo111 avatar Apr 16 '20 20:04 Aldo111

This would be cool. Currently we have a middleware controller that checks for the auth and then passes on the userId to the respected controller and have to manually parse it. Not a big deal but would be cool to have a bind for it.

sjapps avatar May 17 '20 17:05 sjapps