wix / velo-external-db

MIT License
13 stars 16 forks source link

handle empty aggregation as query #499

Closed Idokah closed 7 months ago

Idokah commented 7 months ago

There's change in the SPI - now aggregation can be without an aggregation. when that happens it's just equivalent to query. so I changed some types - aggregation is now a combination of Empty and NonEmpty aggregation (same as we did with filter). and if we get empty aggregation in schema aware layer - we just call find instead.