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

Getting Heterogeneous Children / Ancestors / Descendents #22

Open
technicallyerik opened this issue Mar 31, 2016 · 1 comment
Open

Getting Heterogeneous Children / Ancestors / Descendents #22

technicallyerik opened this issue Mar 31, 2016 · 1 comment
Milestone

Comments

@technicallyerik
Copy link

It would be cool to be able to do something like:

Vault.Context.GetAncestors<BaseDocumentViewModel>()
Vault.Context.GetChildren<BaseDocumentViewModel>()
Vault.Context.GetDescendents<BaseDocumentViewModel>()

If you want to get a bunch of documents that inherit from the same document type and share the same base properties.

@kensykora kensykora added this to the v1.3.0 milestone Mar 31, 2016
@kensykora kensykora changed the title [Feature Request] Getting Heterogeneous Children / Ancestors / Descendents Getting Heterogeneous Children / Ancestors / Descendents Mar 31, 2016
@jaredswarts55
Copy link
Contributor

I have done this work in the BRAVO git. It even maps the explicit child so you can cast it later. I will look into getting that work integrated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants