We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cannot currently declare a function with input type set to an object. It should be possible to do that easily.
Eg:
export async function InsertUser({ first_name, last_name }: { first_name: string, last_name: string }): Promise<{ status: string, message: string }> {}
Adding this as a procedure in a connector to hasura results in the build(created using the cli) failing with this error:
[Error { message: "building metadata failed: invalid metadata: error building schema: unable to build schema: internal error: no support for: object types as input", locations: None, path: None, extensions: Some({"code": String("legacyError"), "id": String("aac85ca2-d551-4a81-bc6e-d47ec3abcede")}) }]
The text was updated successfully, but these errors were encountered:
daniel-chambers
No branches or pull requests
I cannot currently declare a function with input type set to an object. It should be possible to do that easily.
Eg:
Adding this as a procedure in a connector to hasura results in the build(created using the cli) failing with this error:
[Error { message: "building metadata failed: invalid metadata: error building schema: unable to build schema: internal error: no support for: object types as input", locations: None, path: None, extensions: Some({"code": String("legacyError"), "id": String("aac85ca2-d551-4a81-bc6e-d47ec3abcede")}) }]
The text was updated successfully, but these errors were encountered: