Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uri template parser doesn't work if the key is enum type #722

Closed
xuzhg opened this issue May 6, 2016 · 3 comments
Closed

Uri template parser doesn't work if the key is enum type #722

xuzhg opened this issue May 6, 2016 · 3 comments
Assignees
Milestone

Comments

@xuzhg
Copy link
Member

xuzhg commented May 6, 2016

related:
OData/odata.net#556

If the entity type "Product" has the key with enum type. Then, the attribute routing can't work.
For example:

[HttpGet]
[ODataRoute("Products({myKey})")]
public IHttpActionResult Product([FromODataUri] Color myKey)
{
         ...
}

It should work after ODL fixs the issue.

@xuzhg
Copy link
Member Author

xuzhg commented May 18, 2016

ODL has fixed the issue into v6.15 OData/odata.net@6d9bae6 and v7.0 OData/odata.net@9181ff0.

@xuzhg xuzhg self-assigned this May 18, 2016
@xuzhg xuzhg added this to the v5.9.1 milestone May 18, 2016
@xuzhg xuzhg modified the milestones: v5.10, v5.9.1 Aug 29, 2016
@xuzhg
Copy link
Member Author

xuzhg commented Aug 29, 2016

V6.0 will add this support, however the vCurrent v5.10 will wait for the ODL 6.15.

@xuzhg
Copy link
Member Author

xuzhg commented Jun 7, 2017

Close it owning that the ODL 6.15 released months ago.

@xuzhg xuzhg closed this as completed Jun 7, 2017
@xuzhg xuzhg removed the backlog label Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant