Skip to content

How to reflect TypeId wrapper with type registery? #18033

Answered by MrGVSV
Rratic asked this question in Q&A
Discussion options

You must be logged in to vote

Assuming the type represented by TypeId is registered, you might be able to use SerializeWithRegistry and its corresponding type data to fetch that type by the TypeId, retrieve its type path, and then serialize that path. Then just do the reverse with the deserializer counterparts.

And fwiw, eventually I do want to move away from TypeId being the registry key in order to better support dynamic/runtime/scripting types.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Rratic
Comment options

Answer selected by Rratic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants