Skip to content
New issue

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

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

Already on GitHub? # to your account

Circular Json not handled in gatsby-source-contentful plugin #1186

Closed
spatrame opened this issue Jun 16, 2017 · 4 comments
Closed

Circular Json not handled in gatsby-source-contentful plugin #1186

spatrame opened this issue Jun 16, 2017 · 4 comments

Comments

@spatrame
Copy link

I have content which is referencing to the same content in contentful.

ex: A has reference of B, B has reference of C, and C has reference of A.

A -> B -> C -> A

If I have such data in contentful the gatsby source contentful plugin will not work.

Could you please let me know how can we fix it? Will graphql handles circularjson ?

@KyleAMathews
Copy link
Contributor

Let me look into this today.

@KyleAMathews
Copy link
Contributor

The circular JSON problem needed fixed in both core and in the plugin. Working on a PR with fixes for this and some other tweaks to the contentful plugin.

@KyleAMathews
Copy link
Contributor

#1202 fixes this and a few other issues I found with the contentful source plugin.

@KyleAMathews
Copy link
Contributor

#1202 is merged now. I published a canary release with the fix and will be publishing another beta early next week.

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

No branches or pull requests

2 participants