You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, absolutely! That was definitely in the pipe . The only complexity in adding dynamic content would be to find a way to do it without breaking the current method signature.
I've seen a couple of libraries use variadic functions: Foo(opts ...Option) and that would allow updating the existing publishing method without breaking current implementations. My only concern with that is the ability to add an infinite amount of options, while only the first one would be used.
I'm open to suggestions regarding this matter.
rubenv
added a commit
to rubenv/gorabbit
that referenced
this issue
May 7, 2024
Currently marshalling to JSON is baked into the library.
Would you accept a PR where we allow overriding this so that other content types can be used?
The text was updated successfully, but these errors were encountered: