jaystack / odata-v4-server

With JayStack OData v4 Server you can build your own data endpoints without the hassle of implementing any protocol-level code. This framework binds OData v4 requests to your annotated controller functions, and compiles OData v4 compatible response. Clients can access services through OData-compliant HTTP requests. We recommend the JayData library for consuming OData v4 APIs.
https://jaystack.com/products/jaystack-odata-v4-server/
76 stars 55 forks source link

Cannot create Collection property decorator with EnumTypes #68

Open 99z opened 3 years ago

99z commented 3 years ago

When annotating a class' properties like so:

@Collection(Edm.EnumType(Foo))
Bar!: Foo;

The metadata returned looks like the following: <Property Name="Bar" Type="Collection([object Object])"/>

Are there additional steps required to make this work?