Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emberplussharp and using a Matrix #122

Open
cjvoce opened this issue Feb 28, 2025 · 0 comments
Open

emberplussharp and using a Matrix #122

cjvoce opened this issue Feb 28, 2025 · 0 comments

Comments

@cjvoce
Copy link

cjvoce commented Feb 28, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant