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

[$200 in SQT] Improve error handling on Codegen for schema entities #2211

Open
bz888 opened this issue Jan 8, 2024 · 2 comments
Open

[$200 in SQT] Improve error handling on Codegen for schema entities #2211

bz888 opened this issue Jan 8, 2024 · 2 comments
Labels
good first issue Good for newcomers guild Tasks that are available via the guild

Comments

@bz888
Copy link
Contributor

bz888 commented Jan 8, 2024

Description

If an entity has a lowercase name it can result in invalid generated gode

// graphql.schema
type exampleField @entity {
 id: ID!
}

This will generate a fie ExampleField.ts However, the index.ts codegen will import exampleField.ts

The generated index.ts should have the correct case sensitive import

@bz888 bz888 added the good first issue Good for newcomers label Jan 8, 2024
@stwiname stwiname changed the title Improve error handling on Codegen for schema entities [$50 in SQT] Improve error handling on Codegen for schema entities May 5, 2024
@jamesbayly jamesbayly changed the title [$50 in SQT] Improve error handling on Codegen for schema entities [$200 in SQT] Improve error handling on Codegen for schema entities May 6, 2024
@stwiname stwiname added the guild Tasks that are available via the guild label May 14, 2024
@stwiname
Copy link
Collaborator

@Faizalhidayat did you want to make a PR with your suggested changes?

@stwiname
Copy link
Collaborator

@Faizalhidayat We're not after suggestions and pseudo code. We want pull requests that fix the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers guild Tasks that are available via the guild
Projects
Status: Open Tasks!
Development

No branches or pull requests

2 participants