brefphp / symfony-messenger

Bridge to use Symfony Messenger on AWS Lambda with Bref
MIT License
72 stars 22 forks source link

Add option to configure DetailType for EventBridge events #79

Open michalboryczko opened 1 year ago

michalboryczko commented 1 year ago

I need option to use my own DetailType for each message. Also I saw this comment // Ideally here we could put the class name of the message, but how to retrieve it? - so I added default resolver to use class name as DetailType. Also to avoid problems with backwards compatible I left basic behavior as it has been so far