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

Introduce Standalone Flag #342

Open
mumenthalers opened this issue Dec 31, 2024 · 1 comment · May be fixed by #345
Open

Introduce Standalone Flag #342

mumenthalers opened this issue Dec 31, 2024 · 1 comment · May be fixed by #345

Comments

@mumenthalers
Copy link

I'd like to propose the enhancement of a standalone flag for the config.
When the standalone flag is set, instead of generating a module file and class, I suggest exporting a provideApiConfiguration function. This would align with the trend of Angular standalone components and make the code more modular.

Key changes:

  • When standalone is true, omit module generation and export provideApiConfiguration function instead
  • Keep the existing behavior for standalone being false (generate a full module)

I'd be happy to implement this feature. Please let me know if this is something you'd be open to considering.

@mokeev1995
Copy link

Looks like #336

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 a pull request may close this issue.

2 participants