I am trying to provide Koltinx serialization for a...
# serialization
p
I am trying to provide Koltinx serialization for a hierarchy of polymorphic (Typescript) interfaces. One issue is the KXS generated discriminant (the "type" field). This works fine when both endpoints (client and server) use KXS, not so much when, for example, the client is KXS and the server is a black box. In my test code the server generates errors when encountering the discriminants. I found a way to prune the discriminant using a
JsonTransformSerializer
but I have not yet found a way to embed that serializer into a hierarchical/recursive way. Suggestions?