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

Fix documentation for compile time dependency injection #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asdcdow
Copy link

@asdcdow asdcdow commented Sep 10, 2017

SwaggerApplicationLoader went away

@wanghongenpin
Copy link

Hello, where do you add this code?
val swaggerPlugin = new SwaggerPluginImpl(lifecycle, router, app) // Can't be lazy because of PlayApiScanner initialization side effect
+lazy val apiHelpController = new ApiHelpController(components, configuration)

@asdcdow
Copy link
Author

asdcdow commented Nov 29, 2017

I assume you have a class like MyComponents in this guide. You would put those lines inside that class.

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

Successfully merging this pull request may close these issues.

2 participants