Skip to content
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

Unknown scalar types #451

Open
sayajin101 opened this issue Jan 5, 2024 · 1 comment
Open

Unknown scalar types #451

sayajin101 opened this issue Jan 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sayajin101
Copy link

sayajin101 commented Jan 5, 2024

Environment



Describe the bug

When turning on Codegen it is complaining about my scalar types: AWSDate & AWSDateTime.

Obviously there is a list of other AWS scalar types for AppSync which I am not using but would cause the same errors.

Could these scalar types be added to the main code base or is there a way I can import them so that your plugin knows about them?

Expected behavior

To have Codegen working

Reproduction

Use AppSync & set some AWS specific scalar types against your fields

@sayajin101 sayajin101 added the bug Something isn't working label Jan 5, 2024
@jamestharpe
Copy link

Codegen's configuration allows you to map custom scalars to TS types, but I'm not sure how to expose that using nuxt-graphql-client. 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants