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

Support for an equality filter comparing two properties

Open dtirschek opened this issue 6 months ago • 0 comments

Maybe I am missing something and this is already possible. What I want is essentially $filter=Property eq AnotherProperty.

This does not work: card: { author: { id: { eq: { creator: { id: {} } } } } }, it compiles to card/author/id eq creator=id=

I got it to work using a raw filter like so: card: { author: { id: { eq: { type: 'raw', value: 'creator/id' } } } }.

Would be nice if this was possible without using a raw filter.

dtirschek avatar Feb 13 '24 11:02 dtirschek