Skip to content

Commit

Permalink
Replace custom cloneDeep function
Browse files Browse the repository at this point in the history
The custom `cloneDeep` function we're using in the
`apollo-utilities` package doesn't handle circular references
well (as in it crashes if it hits one). These changes replace
the custom `cloneDeep` implementation with `fclone`, which is
a dependency free, lightweight and performant deep clone
implementation. `fclone` drops circular references
(replacing them with a `[Circular]` string).

Fixes #1717.
  • Loading branch information
hwillson committed Sep 4, 2018
1 parent 0df2929 commit a704888
Show file tree
Hide file tree
Showing 5 changed files with 2,791 additions and 8,481 deletions.
Loading

0 comments on commit a704888

Please sign in to comment.