Skip to content

How to instantiate generated builder for EntityView? #1569

Discussion options

You must be logged in to vote

I see now that in the runtime EntityViewManager.createBuilder indeed returns a view-specific builder, e.g. CatViewBuilder which is an implementation of EntityViewBuilderBase. There must be some forced casting, though, because createBuilder returns EntityViewBuilder which has the build but none of the view-specific getters/setters so obviously they can't be used in the source code.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@beikov
Comment options

@david-kubecka
Comment options

@beikov
Comment options

@david-kubecka
Comment options

@beikov
Comment options

Answer selected by david-kubecka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants