Replies: 1 comment
-
The answer seems to be merely using
Without providing the constructor. Maybe this can be added to the tutorial. |
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
-
I've distilled my question into a repo here. In particular, so I don't have to change signature on my service constructor, I decide to use Parameter object. But it should have all fields I want in the main object anyway, so I just embed. However, this gives me an output shown in README, in particular
After stepping through some fx (or is it dig?) code, I thought I realized what the problem is in terms of the missing type.
Having changed it like this, I am now getting an NPE panic essentially:
I think I'm way off on the wrong path here, but how do I handle such a case where I would like the fields in the
services
module's struct?
Beta Was this translation helpful? Give feedback.
All reactions