vendredi 2 octobre 2015

Can I tell an adapter to use a differently-named serializer?

I have an adapter named xyz. I want to point it to a serializer called abc, NOT xyz. Is it possible to do this? I have tried to set the defaultSerializer property, but it didn't work.

In other words, normal data flow is:

Adapter: xyz > Serializer: xyz > Model: xyz.

Data flow I would like:

Adapter: xyz > Serializer: abc > Model: abc.

Aucun commentaire:

Enregistrer un commentaire