odata-query icon indicating copy to clipboard operation
odata-query copied to clipboard

Handling Typed Property Name Filter

Open antonespo opened this issue 2 years ago • 0 comments

It would be nice to have typed filter in order to avoid typo in the property names. As an example:

interface Square {
  width: number;
  height: number; 
}
const filter: Filter<Square> = { width: { lt: 5 } };

It would be the foundation to introduce even typed nested properties handling.

antonespo avatar Sep 19 '21 15:09 antonespo