8000 feat(entc): add TemplateOption to `entc.TemplateDir`, `entc.TemplateGlob` by eiixy · Pull Request #4118 · ent/ent · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(entc): add TemplateOption to entc.TemplateDir, entc.TemplateGlob #4118

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eiixy
Copy link
@eiixy eiixy commented Jul 1, 2024
  • Add TemplateFuncs function to merge the given funcMap with the template functions.
  • Add TemplateSkipIf function allowing the registration of a function to determine if the template needs to be skipped.

@eiixy eiixy changed the title feat(entc): add TemplateOption to entc.TemplateDir, `entc.TemplateG… feat(entc): add TemplateOption to entc.TemplateDir, entc.TemplateGlob Jul 1, 2024
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.

1 participant
0