Merge pull request #576 from lightbend/wip-575-1

#575 Remove wording about apps having reference.conf
This commit is contained in:
Havoc Pennington 2018-07-31 09:35:38 -04:00 committed by GitHub
commit 32a2fb26dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,9 +233,6 @@ The idea is that libraries and frameworks should ship with a
`application.conf`, or if they want to create multiple `application.conf`, or if they want to create multiple
configurations in a single JVM, they could use configurations in a single JVM, they could use
`ConfigFactory.load("myapp")` to load their own `myapp.conf`. `ConfigFactory.load("myapp")` to load their own `myapp.conf`.
(Applications _can_ provide a `reference.conf` also if they want,
but you may not find it necessary to separate it from
`application.conf`.)
Libraries and frameworks should default to `ConfigFactory.load()` Libraries and frameworks should default to `ConfigFactory.load()`
if the application does not provide a custom `Config` object. This if the application does not provide a custom `Config` object. This