Replace query extension with CQL support
jisantuc opened this issue · 1 comments
Improvement
The API specification is replacing the query
extension with a filter
extension based on CQL (radiantearth/stac-api-spec#51). When this is released we'll need to replace (augment? we could keep both for backwards compatibility, it probably wouldn't even be that hard) the query extension with types for CQL expressions. See guidelines in the spec repo
Notes + Context
This should largely be similar to query extension parsing -- string keys with values that should parse into expressions. It's just that the string keys themselves and the expressions will be slightly different.
Definitely keep me posted on how this goes. We'll have more than one beta release, and making sure that the path to CQL is reasonable is one of the big unknowns for me. And I do think if it's easy then leaving the old 'query' extension could make sense - it's deprecated, but I'm sure some clients will take a bit longer to upgrade. And I was hoping the deprecation path would make it so both could live together for awhile.