Skip to content

Introduce Standalone Flag #342

Closed
@mumenthalers

Description

@mumenthalers

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions