-
|
I am working on trying to render a custom GNode ( As far as how I'm producing the nodes goes, I'm using a custom builder that extends As you can see, Here is the process through which they are built:
I have no issues rendering It seems to be stuck on the header comps as best as I can determine, and I'm wondering if this is an issue where the depth of the nesting is causing the problem. Is there any way I can resolve this issue? Is this a bug within GLSP, or just something that isn't possible at this time? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
@tortmayr is there any chance you might know anything about this? It isn't entirely clear what I'm doing wrong, honestly. |
Beta Was this translation helpful? Give feedback.

I'm pretty sure that the
childNodesproperty of theParentNodecauses the issue.This causes circular reference that
JSON.stringifycannot resolve.Is there a particular reason why you opted for a new
childNodesproperty instead of using thechildrenproperty which eachGModelElementhas 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-childrenproperties of the GModel and resolves the circular references.If you absolutely need dedicated
childNodesproperties you probably would have to customize/rebind theGModelSerializerand potentially also need so…