Skip to content

Providers without controller #9

Description

@gtoselli

Currently, each module is a Fastify plugin, so I understand the decision not to allow a module with providers but no controllers.

Ideally, though, if we agree that a module can represent a domain boundary, it might make sense to allow registering providers even without a controller, wdty?

(Quite) related to this, I want to ask: Do you plan to allow specifying different visibility levels for providers? If we intend this library (also) as an enabler for a modular monolithic architecture, it would be useful to have some providers scoped within a module, while others can be used externally (effectively the interface to the outside).

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions