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

RevEng : Use unbounded navigations in scaffolded model #5154

Closed
smitpatel opened this issue Apr 22, 2016 · 6 comments
Closed

RevEng : Use unbounded navigations in scaffolded model #5154

smitpatel opened this issue Apr 22, 2016 · 6 comments
Assignees
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-unknown
Milestone

Comments

@smitpatel
Copy link
Contributor

smitpatel commented Apr 22, 2016

Since updated navigation are supported in design time model now, RevEng should use them to have navigations in scaffolded model.

@divega
Copy link
Contributor

divega commented Apr 22, 2016

A bit off-topic, but any thoughts on whether we should actually commit to the term "shadow navigation" in our ubiquitous language?

In my mind things are shadow only if at runtime their original and current values are tracked in shadow state, e.g. shadow entities don't currently exist but they may exist in the future. However these navigation properties don't have their own state so to me they are just metadata-only navigation properties or unbound navigation properties.

I am ok with embracing the term even if it doesn't feel completely accurate 😄

@smitpatel smitpatel changed the title RevEng : Use shadow navigations in scaffolded model RevEng : Use unbounded navigations in scaffolded model Apr 22, 2016
@smitpatel
Copy link
Contributor Author

Updated title & issue. I did not think in that detail about the term "shadow" but not using it for navigations seems more reasonable.

@divega
Copy link
Contributor

divega commented Apr 23, 2016

@smitpatel I wasn't really pushing back. I would just like to hear what people in the team think we should call them.

@ajcvickers
Copy link
Contributor

@divega No reason why they couldn't have state in the future. Would be relatively easy to implement, although I'm not sure that the value would be high.

I haven't looked at the code yet, but presumably they can already or will at some point be useable in query to do things like Include.

@rowanmiller rowanmiller added this to the 1.0.0 milestone Apr 26, 2016
@lajones
Copy link
Contributor

lajones commented Apr 26, 2016

Note: see #5146 for the fix that allowed navigation properties to point to entities which do not yet have a backing CLR type (which is what we have when constructing the IModel during RevEng).

@lajones
Copy link
Contributor

lajones commented May 23, 2016

Fix checked in with 767b3dd.

@lajones lajones closed this as completed May 23, 2016
@ajcvickers ajcvickers added closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-unknown labels Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-unknown
Projects
None yet
Development

No branches or pull requests

5 participants