-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
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
Custom Mutation/Query functions are not showing up under the client type #2485
Comments
Hey,👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance 🙂 |
Hey @ideen1, Thanks for raising this. Can you please update your |
Hey @AnilMaktala, I have updated both and reloaded my dev environment. Still encountering the same issue unfortunately. |
@ideen1 could you please try upgrading the following 3 dependencies to the following versions: "dependencies": {
"aws-amplify": "^6.2.0",
...
},
"devDependencies": {
"@aws-amplify/backend": "^1.0.0",
"@aws-amplify/backend-cli": "^1.0.0",
...
} If that doesn't fix the issue, please share your schema and client code. |
Hi @ideen1, Are you still experiencing this issue? |
Hey 👋 , This issue is being closed due to inactivity. If you are still experiencing the same problem and need further assistance, please feel free to leave a comment. This will enable us to reopen the issue and provide you with the necessary support. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Environment information
Description
When adding custom mutations/queries to the schema, their types do not appear under client.mutations or client.queries. They still work, when you call on them, however the types are not there which causes TypeScript errors. This occurred after I updated from amplify-backend version 0.13.0-beta6 to 0.13.0. let me know if you can't reproduce and I can provide more code.
The text was updated successfully, but these errors were encountered: