-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update doc for unmanaged service that it can only be used in dev mode #1982
base: 1.5.x
Are you sure you want to change the base?
Conversation
Hi @SahilAggarwalG, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
I did sign the CLA. |
@@ -69,6 +69,8 @@ In sbt: | |||
|
|||
The above ensures that the Service Locator knows about the `weather` service. Then, if you need a Lagom service to communicate with it, simply `@Inject` the [`ServiceLocator`](api/index.html?com/lightbend/lagom/javadsl/api/ServiceLocator.html) and use it to either locate the `weather` service's URI, or perform some arbitrary work with it. | |||
|
|||
Please Note : `lagomUnmanagedServices` this only works in dev mode , for prod mode read [`lagom in production`](https://www.lagomframework.com/documentation/1.5.x/java/ProductionOverview.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @SahilAggarwalG, thanks for this improvement.
The section you edited is on a page of the docs under the Dev Mode
section. I understand by your edit that it wasn't clear the details on this page only applied to dev mode. If that's the case, I think the change should be more prevalent (not apply to only lagomUnmanagedServices
). WDYT?
Also, please note in lagom the docs are duplicate between the java/
and the scala/
because there was just too many specific details to keep all the writeup in a single .md
file for each page. I suggest we iterate your changes on the docs/manual/java/guide/devmode/ServiceLocator.md
and, when ready, Id' ask you to also apply the changes to docs/manual/scala/guide/devmode/ServiceLocator.md
.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok i would be fine
Pull Request Checklist
Fixes
Fixes #xxxx
Purpose
What does this PR do?
Background Context
Why did you take this approach?
References
Are there any relevant issues / PRs / mailing lists discussions?