Skip to content

Conversation

@serjooo
Copy link
Contributor

@serjooo serjooo commented Feb 15, 2020

DefaultCodable currently only defaults when the key is available and the value is null. However, when the key is not available it throws a decoding error. To solve this I borrowed from this repository the idea to give DefaultCodable a default decode implementation to handle this scenario.

Moreover, this PR fixes some test names as well

@serjooo serjooo requested a review from marksands February 15, 2020 14:34
@marksands marksands merged commit 3b91cd0 into marksands:master Feb 15, 2020
@marksands
Copy link
Owner

💥 Thanks a bunch! This is great.

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 this pull request may close these issues.

2 participants