Skip to content

Conversation

@PragTob
Copy link
Contributor

@PragTob PragTob commented Aug 4, 2016

Didn't know about this (and apparently several other people who
asked me if I had it enabled as well) so I thought it'd be good
to mention, I like defaults being mentioned in the docs
in general :)

As by this default configuration. I also think it'd be nice to mention the project default configuration in Mix.Project docs, but that's prone to error. I thought about making default_config public, and adding a doc test for it. Sure, annoying to update but that way the docs would stay up to date and people would have an easy reference for the default configuration without digging through the code. I'd be happy to add that in as well if desired :)

Also for compile/app.start might want to add the other default values in the docs.

Thanks!
Tobi

Didn't know about this (and apparently several other people who
asked me if I had it enabled as well) so I thought it'd be good
to mention, I like defaults being mentioned in the docs
in general :)
* `:consolidate_protocols` - when `true`, loads consolidated
protocols before start
protocols before start. Enabled by default.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could say "The default value is true" to be 100% clear? Wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will get to it. Thanks!

@PragTob
Copy link
Contributor Author

PragTob commented Aug 4, 2016

Updated!

@josevalim
Copy link
Member

:shipit:!

@whatyouhide whatyouhide merged commit 541a662 into elixir-lang:master Aug 4, 2016
@PragTob PragTob deleted the doc-consolidate-protocoles-enabled branch August 4, 2016 12:58
josevalim pushed a commit that referenced this pull request Aug 4, 2016
…5091)

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants