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

ability to add additonal fields and funcs to mutation input #608

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

khanakia
Copy link
Contributor

@khanakia khanakia commented Dec 22, 2024

Refer: ent/ent#4281

I am building a Media Extension need to set Fields on e.g PostMutation via saas/gen/ent/gql_mutation_input.go

So instead of copying the whole template file and overriding, we should be able to override within the default template from the vendor directory.

and also this way multiple custom extensions can add additional fields and make it modular.

Copy link
Member

@a8m a8m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See minor comment

@a8m a8m merged commit 4928da9 into ent:master Dec 27, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants