Skip to content
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

Provide convenient access to the default client config #21

Closed
mliarakos opened this issue Feb 1, 2021 · 1 comment · Fixed by #22
Closed

Provide convenient access to the default client config #21

mliarakos opened this issue Feb 1, 2021 · 1 comment · Fixed by #22

Comments

@mliarakos
Copy link
Owner

mliarakos commented Feb 1, 2021

Due to akka-js/shocon#55 adding client settings to the lagom.js client config is difficult. Lagom.js should provide access to the default client config so it can be used by user, similar to Akka.js:

lazy val conf =
  ConfigFactory
    .parseString("""
    akka {
      loglevel = "DEBUG"
      stdout-loglevel = "DEBUG"
    }""")
    .withFallback(akkajs.Config.default)

lazy val system = ActorSystem("yourname", conf)
@mliarakos
Copy link
Owner Author

Fixed by #22.

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

Successfully merging a pull request may close this issue.

1 participant