-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Description
Describe the bug
I have a json schema which uses a $ref as a items reference: https://pastebin.com/EJBLXZ3b (line 57)
After including it in the example and running it: I see in the dev console of my chrome:
index.js:42 Uncaught TypeError: Converting circular structure to JSON
at stringify (index.js:42)
at stringify (index.js:50)
at stringify (index.js:50)
at stringify (index.js:50)
at stringify (index.js:50)
at stringify (index.js:50)
at stringify (index.js:50)
at stringify (index.js:50)
at stringify (index.js:50)
When I remove line 57 in the schema, it works.
To Reproduce
Steps to reproduce the behavior:
- Use React without redux example and use the schema shown above
- Start example
- Open dev console
- See error
Expected behavior
A schema with recursion should work, or at least not fail to be used.
Browser:
- Chrome
- 76.0.3809.100 (OSX 64bit)
Used Setup:
- Framework: react + express
- RendererSet: material
evisong