-
Notifications
You must be signed in to change notification settings - Fork 92
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
Support TREAT in entity views #312
Comments
Actually I'd like to allow to map subview subtypes not only based on entity hierarchy but maybe also based on some kind of other discriminator. public String resolve() {
switch (type) {
case TYPE1: return getRelation1().getOwner().getName();
case TYPE2: return getRelation2().getOwner().getName();
// ...
}
} |
This was referenced Mar 10, 2017
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 19, 2017
…owed case when without else
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 20, 2017
…owed case when without else
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 24, 2017
…owed case when without else
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 24, 2017
…owed case when without else
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 24, 2017
…owed case when without else
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 26, 2017
…owed case when without else
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 26, 2017
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 27, 2017
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 27, 2017
beikov
added a commit
to beikov/blaze-persistence
that referenced
this issue
Apr 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As part of our work on TREAT for #120 we should also add support for treat in entity views. There are actually two features that make sense when adding treat support.
Allow to treat the "current" entity view
This requires some syntax to refer to the "current" entity view type.
Allow to map an entity view or subview to specific entity view subtypes
When mapping a subview or applying an entity view it should be possible to specify entity view subtypes that should be materialized when an entity is of the respective entity subtype.
The text was updated successfully, but these errors were encountered: