Add toJSON()
to Filter
base class, implement or throw within FunctionFilter
#3812
Labels
toJSON()
to Filter
base class, implement or throw within FunctionFilter
#3812
We can't actually serialize a function filter, but having
toJSON()
on the base class would be helpful and avoid cheats like:hoist-react/data/filter/CompoundFilter.ts
Line 51 in c202046
which could then throw in an unhandled way.
Should we implement something human-readable, even if it could not be parsed back?
The text was updated successfully, but these errors were encountered: