-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent implicit resolution for Default type class (#55)
* Prevent implicit resolution for Default type class - those implicits will not be applied by default - default implicits can be imported where it is needed - parameter is required until default value is not specified in case class constructor or Default implicit is in scope * default value `None` for `Option[T]` fields - wrapping case class field into Option[T] makes argument optional - reduced boilerplate in case class constructors because there is no need to specify default value for optional fields * Update README.md - optional/required arguments * Update README.md - fix link to Default
- Loading branch information
1 parent
f6f2b2f
commit d292098
Showing
4 changed files
with
41 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters