Pass in additional arguments to object constructor #2426
Unanswered
DarkKnights22
asked this question in
Q&A
Replies: 1 comment
-
Hi @DarkKnights22 , we do not currently support passing through extra arguments directly to the mapped result types. As a workaround, I would map the query to an intermediate If you would like the ability to directly pass arguments from a query into the constructed results, that is a reasonable feature request, although I think the implementation would not be trivial. |
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 have a KitData class which has a constructor annotated with @JdbiConstructor:
How would I go about passing in these additional arguments (
container
andaccount
) into my constructor when I call the method in my DAO?DAO method:
Beta Was this translation helpful? Give feedback.
All reactions