bullmq
bullmq copied to clipboard
Add support for custom serializers
https://github.com/OptimalBits/bull/issues/1411
@manast any intention to get this developed?
We have a use case where we (ideally) need to pass Decimal.js types to downstream jobs in a flow.
@godinja in your case, couldn't you just serialize the decimal.js types before adding the job data? In other words, it should be easy enough to build a custom serializer on top of the data object that supports your use case.
+1 to custom serialisers-- or at add an option for superjson.
+1