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

CatalogCategoryTree: String cannot represent non scalar value: array #1

Open
alexandersch opened this issue Sep 27, 2017 · 1 comment

Comments

@alexandersch
Copy link

Hi Vrann,

When executing a query on MagentoCatalogCategoryTree, I get the following error:

schermafbeelding 2017-09-27 om 11 02 15

Are you planning on fixing this in the near future?

@vrann
Copy link
Owner

vrann commented Oct 5, 2017

@alexandersch good catch, this is caused by the fact that GraphQL does not allow to have recursive objects, while Category Tree is recursive. A temporal fix was to substitute the reference to the children category with the object of type String. A better fix would be to allow just limited level of recursion.

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

2 participants