Closed Tisten closed 1 year ago
The initial design has always been that pointed to data reside in __subdata yes. I never had any plans for supporting pointers to substructs and array-members etc. That could however change depending on usecases:)
This should however work I think.
If I understand the current design then all pointers need to reference payloads in the "__subdata" section, so pointing to a member struct or a struct inside an array means the data gets duplicated.
I have no fix for this because I'm not sure which way to best tag the structs in DL's json.