title: Apache Ignite: type substitution on serialization
body: <p>I have a class <code>A</code>, a cache <code>A_CACHE</code> and a proxy object <code>AProxy extends A</code>. My goal is to serialize <code>AProxy</code> objects as if they are <code>A</code> objects (automatically substitute type) and put them into <code>A_CACHE</code>.<br><br>
  Is there any way in Apache Ignite to substitute type of an object that I am trying to put into cache (serialize using BinarySerializer)? <br><br>
  What I have tried so far.
  I have implemented and registered the same <code>BinarySerializer</code> for both types. I have also tried to play with <code>BinaryNameMapper</code> class to return the same class name for both classes, but without success. The only option that comes to my mind now is to use <code>BinaryObjectBuilder</code>. Is it really <strong>the only</strong> option for me?</p>