You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
smartDereference won't attempt to dereference a dereferenced value. For example,
letstore={};constjon={id: 'user1',name: 'jon'};constjonReference=createReference('users',jon.id);store=resolveReference(store,jonReference,jon);constcomment={id: 'comment1',author: jonReference,comment: "something"};constcommentReference=createReference('comments',comment.id);store=resolveReference(store,commentReference,comment);constblog=smartDereference(store,{title: "Some blog",comments: [commentReference]});// Should be jon, not jonReferenceblog.comments[0].author===jonReference
User should be able to specify recursion depth. An infinite depth risks causing a stack overflow on a circular reference
The text was updated successfully, but these errors were encountered:
smartDereference
won't attempt to dereference a dereferenced value. For example,User should be able to specify recursion depth. An infinite depth risks causing a stack overflow on a circular reference
The text was updated successfully, but these errors were encountered: