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

Creating links to other OData routes is hard #25

Closed
LianwMS opened this issue Jan 12, 2015 · 3 comments
Closed

Creating links to other OData routes is hard #25

LianwMS opened this issue Jan 12, 2015 · 3 comments
Labels
Milestone

Comments

@LianwMS
Copy link
Contributor

LianwMS commented Jan 12, 2015

I have to figure out the appropriate path handler to use. The framework
already knows which path handler should be used when I provide a route name;
it shouldn't ask me for it.

Possible scenarios:
I want to create an OData link from an ODataController associated with a
different model. In particular, I might be versioning and want to create a
link from one version (v2) to another (v1).
I want to create an OData link from an ApiController (non-OData). In
particular, I might want to migrate to OData and this method would give me an
entry point to the OData world from the non-OData world.

Work Item Details

Original CodePlex Issue: Issue 771
Status: Proposed
Reason Closed: Unassigned
Assigned to: Unassigned
Reported on: Jan 14, 2013 at 8:02 PM
Reported by: davidmatson
Updated on: Sep 23, 2013 at 7:43 PM
Updated by: danroth27

@LianwMS
Copy link
Contributor Author

LianwMS commented Jan 12, 2015

On 2013-01-15 14:57:57 UTC, HongmeiG commented:

This is a valid request. I am moving it to vNext so that we can provide a better url helper extension method to make this easier. This is an advance scenario. It is an advance scenario, and it is ok to punt since we are closing down RTM release.

@LianwMS
Copy link
Contributor Author

LianwMS commented Jan 12, 2015

On 2013-03-30 07:06:25 UTC, HongmeiG commented:

In order to have the runtime to figure out the path handler, we will need to go back to the configuration and trying to retrieve it from the odata route constraint. It will be a lot simpler if user can pass the path handler directly. Usually that should
be a singleton.

@xuzhg
Copy link
Member

xuzhg commented Jun 2, 2016

Needn't. Close it. Thanks.

@xuzhg xuzhg closed this as completed Jun 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants