We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
With the following schema:
CREATE TABLE public.campus ( id integer NOT NULL );
Running gqlgen produces
gqlgen
type Campu struct { ID int32 `json:"id"` }
I would prefer to have the struct keep the "s" at the end of campus.
I also tried to use the rename configuration option in my sqlc.yaml file but the "s" is still stripped.
rename
rename: campus: Campus
Is there a supported way to force the struct name to be "Campus"?
The text was updated successfully, but these errors were encountered:
Thank you for the quick fix!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
With the following schema:
Running
gqlgen
producesI would prefer to have the struct keep the "s" at the end of campus.
I also tried to use the
rename
configuration option in my sqlc.yaml file but the "s" is still stripped.Is there a supported way to force the struct name to be "Campus"?
The text was updated successfully, but these errors were encountered: