Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Add in the docs that the plugin is Guice dependent #179

Open
UnconventionalMindset opened this issue Jul 21, 2018 · 1 comment
Open

Add in the docs that the plugin is Guice dependent #179

UnconventionalMindset opened this issue Jul 21, 2018 · 1 comment

Comments

@UnconventionalMindset
Copy link

Came out after this: https://stackoverflow.com/a/51459491/4715008
If people are not using Guice they should know this library is not going to work or what is the workaround to it.

@gmethvin
Copy link
Contributor

gmethvin commented Sep 7, 2018

We use this with compile-time DI and it works fine. The main issue is that the controller relies on global state, so you need to create an instance of the SwaggerPluginImpl on startup to initialize that global state for Swagger.

In https://github.com/Iterable/swagger-play/ we fixed some of the global state issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants