Closed terary closed 2 years ago
I think this will inherently be fixed with https://github.com/terary/gabby-query-protocol-lib/tree/issue_20211113
Leaving issue open to check after merge
Needs to be verified, fixed or still broken
likely fix on branch issues-20211120
When building predicateTree.fromEmpty the root, or next to root will accept {operator: '$eq', subjectId: 'submject', value:''}.
This causes an issue when exporting tree to json, then importing into a new tree, because that node is an invalid predicate.
Need to disallow or automatically update node or something.
Should be able to .fromJson(.toJson()). (see tests for react-context, Provider)