Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Make scalligraph use play.http.context properly #15

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

Conversation

vdebergue
Copy link
Contributor

When using dependency injection with Guice, the Provider[Router] was automatically picking up the current http context. (https://github.com/playframework/playframework/blob/master/core/play/src/main/scala/play/api/inject/BuiltinModule.scala#L117)

This was not the case with the current implementation.

So now when the config play.http.context is provided to the application, the router will be prefixed with this configuration (like it did with Guice).

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.

1 participant