I hereby claim:
- I am jozefvaclavik on github.
- I am jozef (https://keybase.io/jozef) on keybase.
- I have a public key ASCAQkaqRhfeAMCNy7vA5044p627tMfs2PqtVMdh6S0oAgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Sometimes you have one endpoint that accepts different payloads with some type
identifier. While you can pass Resource
, Serializer
and Deserializer
to the Operation
, the Operation
tries to infer Resource
class from its name.
There are two ways to solve this:
You create Operation
for specific endpoint and dummy Resource
with Serializer
and Deserializer
. Then you create Resource
, Serializer
and Deserializer
for each type
you have and you pass these into the Operation
.