Skip to content
Discussion options

You must be logged in to vote

I'm pretty sure that the childNodes property of the ParentNode causes the issue.
This causes circular reference that JSON.stringify cannot resolve.
Is there a particular reason why you opted for a new childNodes property instead of using the children property which each GModelElement has by default?

Before sending the model to the client we use the GModelSerializer to transform the current gmodel into a serializable format. This serializer can handle the default parent - children properties of the GModel and resolves the circular references.

If you absolutely need dedicated childNodes properties you probably would have to customize/rebind the GModelSerializer and potentially also need so…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tortmayr
Comment options

Answer selected by david-pa
@david-pa
Comment options

@david-pa
Comment options

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