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

feat: add extra-templates modular approach #849

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

Conversation

vkefallinos
Copy link

No description provided.

@Mahdhir
Copy link

Mahdhir commented Jul 25, 2024

Coincidentally was working on the same thing 4 hours ago 😆

@vkefallinos
Copy link
Author

Nice. I also want to add the ability to handle the generated file naming on the default templates.

@Mahdhir
Copy link

Mahdhir commented Jul 26, 2024

Nice. I also want to add the ability to handle the generated file naming on the default templates.

You might want to take a look at hooks. Seems like you can handle your scenarios in that.

@smorimoto smorimoto requested a review from Copilot December 28, 2024 17:30

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 7 changed files in this pull request and generated no comments.

Files not reviewed (4)
  • tests/spec/extra-templates/snapshots/basic.test.js.snap: Language not supported
  • tests/spec/extra-templates/schema.json: Language not supported
  • tests/spec/extra-templates/templates/test-route.ejs: Language not supported
  • tests/spec/extra-templates/templates/test.ejs: Language not supported
Comments suppressed due to low confidence (1)

src/code-gen-process.js:327

  • Ensure that the new modular approach for extra templates is covered by tests. Verify that all new paths and conditions are tested.
if(extraTemplate.modular){
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