Skip to content

Not able to find method enableAutoConfig in GuiceBundle in version >= 1.0.0.0 #41

@harmishlakhani

Description

@harmishlakhani

In dropwizard-guice we have enableAutoCongig method present in which we can give base package and Dropwizard and Guice will take for resource classes.
In dropwizard-guicer we are not able to find such method and because of that we have to tell jersey for base package.
Because of this Guice is not able to inject dependencies of services into resources.
So I think if somehow we are enabling this package scan phase in guicer then we should be able to inject service as well with use of @Inject annotation to resources.

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