odata-query
odata-query copied to clipboard
Handling Typed Property Name Filter
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.