Skip to content

emberplussharp and using a Matrix #122

Description

@cjvoce

Hi,

I am having an issue with Matrixes (Matrices?) in Ember+. I'm hoping someone can help.

I am using emberplussharp successfully when there isn't a matrix in the tree. I am traversing down the tree with this:

   string[] splitParameters = parameter.Split('/');
   for (int n = 0; n < splitParameters.Length - 1; n++)
   {
       thisNode = (INode)thisNode.Children.First(c => c.Identifier == splitParameters[n]);
       thisNode.ChildrenRetrievalPolicy = ChildrenRetrievalPolicy.DirectOnly;
       await _consumer.SendAsync();
   }

When this hits a Matrix in the tree, it never returns from the await. With ChildrenRetrievePolicy set to All, it works.

Is this expected behaviour? Is there a downside to just using All?

Thanks in advance,

Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions