OData V4 has enumeration support, but it seems you only need to search by namespace. How now to search by value instead of text representation?
In V3 odata, you can request $filter=Status eq 35 , where 35 is Complete in the listing. This method would work even if this field was an enumeration field in the data model.
Now this method does not work in V4, instead a namespace with a textual representation of the enumeration is required.
I want V3 support to work again without losing other odata V4 features. A search by int value for an enum element seems more reliable than a text search. Older odata clients (such as kendo) do not support the filtering method of listing as text.
source share