Weird info message when not using @InputArgument #837
Replies: 3 comments
-
You make an excellent point, thanks for reporting it. |
Beta Was this translation helpful? Give feedback.
-
The fact that it works without @berngp We have to figure out if supporting arguments without |
Beta Was this translation helpful? Give feedback.
-
I am in favor of annotating the argument explicitly. I don't think we should officially support it and instead express a clear error if we are left with arguments that we, the framework, could not bind. |
Beta Was this translation helpful? Give feedback.
-
I just created a Data fetcher without the annotation
@InputArgument
for the arguments. The parameters are being well assigned but I can see some info messages in my console which I suppose are not necessary.The data fetcher query:
and here the "info" message:
"message":"Unknown argument 'count' on data fetcher my_datafetcherclass_here.my_method"
This message should appear only when my parameter has a different name of my input name used in my query declaration. In this case the binding would be impossible unless using
@InputArgument(name = "the_name_here")
Beta Was this translation helpful? Give feedback.
All reactions