I'm new to nameko and making some tests.
I now want to setup a custom serializer so I read different posts on the subject and tried to register my serializer to kombu with
register('my_json', to_json, from_json, 'application/my_json')
My service returns a dict(v='string', on=datetime.utcnow())
and my serializer is able to serialize datetime
But when I call my service I get an error
nameko.exceptions.RemoteError: UnserializableValueError Unserializable value: `{'v': 'string', 'on': datetime.datetime(2018, 2, 27, 10, 50, 52, 648749)}`
So my question : Is it the right solution ? What did I forgot ?
Tia.