Replies: 1 comment
-
We've decided not to perform JSON Schema validation of input arguments, and to leave validation to the GraphQL server, so I've closed this discussion. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
I have a
CallToolHandler
, and the arguments are provided as a dictionary ofJsonElement
, but JsonSchema.Net'sEvaluate
method requires aJsonNode
. This means that the JSON text has to be extracted and reparsed as aJsonNode
, like this:Can this be avoided?
Maybe the arguments (or full request) should be provided as text, and the
Arguments
property could lazily construct the dictionary to maintain BC?Beta Was this translation helpful? Give feedback.
All reactions