Dear TMS,
I'm currently working on incorporating a mutation that includes a specific parameter defined as an INPUT item in the model. Unfortunately, I'm encountering issues with its proper functionality. I've added my programming attempt to the Bookshelf example (please refer to the attached file).
Upon running this code and applying the following query in the Playground, I encounter an "Invalid class typecast" error message.
mutation {
testUpdate(input: {myInput: "this is a test"}) {
myOuput
}
}
As a side note, when I omit the use of an INPUT item and instead use an integer or string parameter, the code works without any problems.
Could you please help me pinpoint where I might have gone wrong in this context?
Thank you in advance.
Kind Regards,
Stefan
20230921_bookshelf_mutaties.zip (10.0 KB)