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

fix output paths for a bunch of scaffolders #3072

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

deepchoudhery
Copy link
Member

@deepchoudhery deepchoudhery commented Nov 7, 2024

Currently, there is no consistency between scaffolders and where the templates are outputted. Right now:

  • API Controller ---> project-root
  • API Controller with actions, using EF ---> project-root
  • Minimal API (Endpoints file) --> project-root
  • MVC Controller --> project-root
  • MVC Controller with views, using EF --> project-root and project-root\Views
  • Razor Component --> project-root
  • Razor Component with EF --> project-root\Components
  • Razor Page (Empty) --> project-root
  • Razor Page using EF --> project-root\Pages
  • Razor View (Empty)--> project-root
  • Razor Views --> project-root\Views

with this PR:

  • API Controller ---> project-root\Controllers
  • API Controller with actions, using EF ---> project-root\Controllers
  • Minimal API (Endpoints file) --> project-root
  • MVC Controller --> project-root\Controllers
  • MVC Controller with views, using EF --> project-root\Controllers and project-root\Views
  • Razor Component --> project-root\Components
  • Razor Component with EF --> project-root\Components
  • Razor Page (Empty) --> project-root\Pages
  • Razor Page using EF --> project-root\Pages
  • Razor View (Empty)--> project-root\Views
  • Razor Views --> project-root\Views

Leaving minimalapi as is currently. Planning to add a way for users to add output paths soon. these will be default fallbacks then

@deepchoudhery deepchoudhery self-assigned this Nov 7, 2024
@deepchoudhery deepchoudhery marked this pull request as ready for review November 7, 2024 20:22
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