Replies: 1 comment 2 replies
-
Not possible. It's a bad design pattern. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to annotate a resolver to encourage type-graphql to instantiate the class with a static constructor? This would allow me to use await for loading data:
Currently this doesn't work, because my constructor is protected and I'd like to encourage type-graphql to use
YamlResolver::newWithData()
Beta Was this translation helpful? Give feedback.
All reactions