Closed andrinheusser closed 1 year ago
Refactor the Filter type to only allow filter keys that exist on the document.
{ filterKey: Value }
{ "filter.key": Value }
Arbitrary strings are no longer allowed.
Also includes a cleanup of the unused Split type I missed in the last PR (sorry!)
Split
This PR will probably break builds for people who have typos/non-existent keys in their code, but at least they would be aware of it.
Refactor the Filter type to only allow filter keys that exist on the document.
{ filterKey: Value }
{ "filter.key": Value }
Arbitrary strings are no longer allowed.
Also includes a cleanup of the unused
Split
type I missed in the last PR (sorry!)This PR will probably break builds for people who have typos/non-existent keys in their code, but at least they would be aware of it.