tasktiger icon indicating copy to clipboard operation
tasktiger copied to clipboard

feat: Allow custom serializer and deserializers for task

Open kgritesh opened this issue 8 years ago • 3 comments

Fixes #21

kgritesh avatar Oct 31 '17 14:10 kgritesh

FYI, this doesn't use the custom encoder/decoder in gen_unique_id which I ran into using this code.

xuru avatar Dec 18 '17 01:12 xuru

@alanhamlett @xuru let me know if we need to use this custom serialiser in get_unique_id function. Also let me know if anything pending for this to be merged?

kgritesh avatar Dec 28 '17 04:12 kgritesh

@kgritesh I took a different approach then passing in a call back for serialization/deserialization. I decided to do it like flask does it, and pass in the json encoder/decoder in order to serialize custom types. I created a pull request: #99

xuru avatar Dec 30 '17 01:12 xuru