Replies: 1 comment 1 reply
-
Hi, thanks for the kind words! It seems to me that you'd like to retain the default serialization behavior for the normal events while allowing the already-serialized ones to skip serialization. How about one of these approaches:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good evening,
Thanks a lot for Rails/Ruby EventStore! It's a powerful framework and has been a great foundation for the event system of my new application.
I have configured a custom Event serializer which dumps an event as JSON. For some of my events, I happen to have a serialized JSON string representation available at the time of publishing an event. I was wondering if it's possible to avoid the deserializing+publishing+serializing of the JSON data, by publishing an event with already serialized data payload. I don't know much about the internals of the RubyEventStore and whether that's even feasible.
Thanks,
Tobias
Beta Was this translation helpful? Give feedback.
All reactions