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

Make scalligraph use play.http.context properly#15

Open
vdebergue wants to merge 1 commit intoTheHive-Project:macwirefrom
vdebergue:fix/http-context
Open

Make scalligraph use play.http.context properly#15
vdebergue wants to merge 1 commit intoTheHive-Project:macwirefrom
vdebergue:fix/http-context

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