You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use an inner serializable data class (foo.MySchemas.Bar) which has a schema fqn foo.Bar ... when we deserialize it, the default is to lookup the schema using the fingerprint and do a classForName lookup ... but this fails because class fqn and schema fqn differ.
Expected behaviour
We can serialize/deserialize inner classes
Possible Solutions:
a) use serializeName to mark the difference between schema and class - will probably not work because it is intended to work the other way around
b) use strategies to load class for schema-fqn, classForName being the simple default. Other strategies could be classGraph scanning or generation of dictonary files where we resolve fingerprint for class lookup
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Use an inner serializable data class (
foo.MySchemas.Bar
) which has a schema fqnfoo.Bar
... when we deserialize it, the default is to lookup the schema using the fingerprint and do a classForName lookup ... but this fails because class fqn and schema fqn differ.Expected behaviour
We can serialize/deserialize inner classes
Possible Solutions:
a) use serializeName to mark the difference between schema and class - will probably not work because it is intended to work the other way around
b) use strategies to load class for schema-fqn, classForName being the simple default. Other strategies could be classGraph scanning or generation of dictonary files where we resolve fingerprint for class lookup
The text was updated successfully, but these errors were encountered: