Understanding Encode and Decode for User Data Transformation and Event Publishing
I'm trying to get my head around decode and enconde. My scenario is that I have some user data I grab from DB and that becomes a User type. Then I transform this user data and publish this to event bus for someone else to consume. My issue is about sending this data. I started with: