Cannot create team
This is actually two issues, but they are related, so I'm wrapping them into one.
The first is that when I want to use the createTeam
Mutation that exists in the server, the input needs to be a string, even though there is an unused TeamInput
definition right underneath it. This means that I have to stringify the object I'm sending, which later on seems to get parsed.
Now if we're going to use TeamInput
, it should also use a TeamObjectInput
. Passing a simple id there would make it fail later on when the team looks at its own validations. Line that seems to be wrong here.