-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add default
argument to Map's value(_)
#1085
Add default
argument to Map's value(_)
#1085
Conversation
- Update Swift version to 5 - XCode automaticly created IDEWorkspaceChecks.plist after update it - Delete SWIFT_SWIFT3_OBJC_INFERENCE from project.pbxproj
- Fix `hashValue` to `hasher(into: )` in MappableExtensionsTests.swift - Fix warnings related to `try?` declaration in ImmutableTests, MapContextTests, PerformanceTests
…both `hasher.combine(_)` lines
Could you please check? @tristanhimmelman |
I'm ok with this PR, but you will need to rebase master and get the tests passing again in Travis |
Merge master to emrcftci/master
…jectMapper into feature/defaultValue
- Revert accidently created commit from another pull-request -> tristanhimmelman#1081
I've rebased master into my branch but I accidentally take some commits from my other pull-request(#1081). So I've reverted these unwanted commits. Sorry for the mistake. |
No worries @emrcftci! Thanks for the contributions |
Description
default
value as an argument to Map'svalue(_)
We can assign default value effortlessly with this new feature.
Motivation and Context
We will be use
default
argument for assign default value,We will avoid using parentheses for assign default values
after this pull-request merge.
What kind of change does this PR introduce?