Replies: 2 comments 6 replies
-
Why would you need to extend a type twice? Can you just create a base class and |
Beta Was this translation helpful? Give feedback.
-
Hi @oojacoboo, thank you for your fast reply. We have our Entity User in which we just use the type annotation. Now we have a UserExtendedType which includes all fields we want to expose for separation of concerns (we have logic for example for the image link which should not be located in the entity). Now we need another type in which we control the behaviour of the last name so it just outputs the initial character for special usage which we want to define by outputType. Another way would be to have the context of the parent type so we can control the behaviour in the method directly. |
Beta Was this translation helpful? Give feedback.
-
Hi,
is it possible extending an ExtendType?
Tried out but did not succeed yet.
Thanks for helping out!
Beta Was this translation helpful? Give feedback.
All reactions