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
We recently encountered the very same problem in lioncore-java where we had the same logic. The problem is that in this way we are only able to deserialize entire partitions, but nothing below them.
Yes, I would do that.
In Java we can define the three options:
Throw exception if there is any parent we cannot solve (but that means that either we ask only for entire partitions or we have another mechanism to solve nodes, for example because we already have on the client side)
Set them to null
Use sort of purely working proxies
Of these, I think that the only option that makes sense in most cases is setting the parent to null
I think this should be changed to support deserializing subtrees:
lionweb-typescript/packages/core/src/deserializer.ts
Line 48 in 8e6b058
We recently encountered the very same problem in lioncore-java where we had the same logic. The problem is that in this way we are only able to deserialize entire partitions, but nothing below them.
See LionWeb-io/lionweb-java#132 for comparison
The text was updated successfully, but these errors were encountered: