Replies: 2 comments
-
Can you share the code that attempts to extend the class? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It is literally |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm currently developing an Adonis5 provider that contains a class that needs to extend a class from another provider.
Currently, the code of MY provider is the following :
The
YYY
class is a singleton that instantiate classZZZ
. TheZZZ
class needs to extend class from another provider.The problem is that right now, importing the parent class from another provider leads to an
IocLookupException
.How can I ensure that the parent class is already known by the IoC container before importing it?
Beta Was this translation helpful? Give feedback.
All reactions