Closed rafaelfaria closed 9 months ago
Hello, @rafaelfaria and thank you for opening this issue. Could you clarify which version of Amplify you're currently or share your package.json
? Thanks!
Hi @rafaelfaria 👋 we're going to transfer this issue to the amplify-codegen
repo for better support as it seems more related to that.
Fixed by https://github.com/aws-amplify/amplify-codegen/pull/737. Please upgrade to the latest version of the CLI.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
GraphQL API
Amplify Categories
api
Environment information
Describe the bug
In order to go around the private authentication, I had to create a custom subscription type.
When amplify generates the APIs, i am getting typescript errors on all custom types.
Expected behavior
I expect not to have ay typescript error :)
Reproduction steps
Create a model
create a custom public. subscription
amplify api gql-compile && amplify codegen
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response