We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sample: https://codesandbox.io/s/9qlx0lmwow Just open console
Book.define({ author: Person, readers: [Person], mainBook: Book // cyclical }); const data = { id: 1, mainBook: { id: 1, author: { id: 1, name: "Bob" }, readers: [{ id: 2, name: "Jeff" }, { id: 3, name: "Tom" }] }, author: { id: 1, name: "Bob" }, readers: [{ id: 2, name: "Jeff" }, { id: 3, name: "Tom" }] }; console.log("data", data); const response = wormalize(data, Book); console.log(response); const reverse = dewormalize(response.result, Book, response.entities); console.log(reverse);
I get
RangeError: Maximum call stack size exceeded
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sample: https://codesandbox.io/s/9qlx0lmwow
Just open console
I get
The text was updated successfully, but these errors were encountered: