Skip to content
Discussion options

You must be logged in to vote

Hi, sorry for the brief answer while I'm out on leave, but yes, this is intentional. The idea is/was that custom schema objects may exist within metadata, and the schema system gives those objects the benefit of the schema upgrade system, serialization to/from class instances with helpful methods, etc.

We have been using this in our pipeline for a while with some pros & cons. The main con being that there isn't an established SchemaDef mechanism in pure C++. However, it is pretty easy to register custom classes in C++ even if there isn't a plugin mechanism for that. You can just subclass SerializableObjectWithMetadata and then call TypeRegistry::register_type(...) before deserializing and…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@rickcoles-fn
Comment options

@rogernelson
Comment options

rogernelson Mar 8, 2022
Maintainer Author

@ssteinbach
Comment options

@reinecke
Comment options

Answer selected by rogernelson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants