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

Add additional fields to the generated GraphQL schema #3997

Open
nixxxon opened this issue Apr 2, 2024 · 0 comments
Open

Add additional fields to the generated GraphQL schema #3997

nixxxon opened this issue Apr 2, 2024 · 0 comments

Comments

@nixxxon
Copy link

nixxxon commented Apr 2, 2024

Is there a way to have custom fields (not stored in the db) added to the GraphQL schema generation?

I have tried using additional fields templating but the added field is only present in the generated struct and not in the GraphQL schema.

Am I understanding it correctly that the GraphQL generator is using the original model/schema when generating (and not the generated ent struct)? If so, is there any way to specifiy if a field should be ignored from the db but still be used when generating?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant