Skip to content

Fix JSONDecodingError Matchable implementation#367

Merged
martijnwalraven merged 1 commit intoapollographql:masterfrom
fdiaz:fix-jsondecodingerror-matchable
Oct 13, 2018
Merged

Fix JSONDecodingError Matchable implementation#367
martijnwalraven merged 1 commit intoapollographql:masterfrom
fdiaz:fix-jsondecodingerror-matchable

Conversation

@fdiaz
Copy link
Copy Markdown
Contributor

@fdiaz fdiaz commented Sep 14, 2018

Fixes #366

JSONDecodingError implementation of Matchable was missing the wrongType case.

This PR adds tests to validate this was missing and then fixes this issue.

wrongType was missing from the implementation
@apollo-cla
Copy link
Copy Markdown

@fdiaz: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

9FF90A6B1DDDEB420034C3B6 /* ReadFieldValueTests.swift */,
9F19D8451EED8D3B00C57247 /* ResultOrPromiseTests.swift */,
9FADC8531E6B86D900C677E6 /* DataLoaderTests.swift */,
9FC750551D2A532D00458D91 /* Info.plist */,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is adding JSONTests.swift and sorting alphabetically.

@martijnwalraven martijnwalraven merged commit cea80fe into apollographql:master Oct 13, 2018
@fdiaz fdiaz deleted the fix-jsondecodingerror-matchable branch October 15, 2018 15:36
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.

JSONDecodingError implementation of Matchable is missing the wrongType case.

3 participants