Skip to content

Conversation

@nlutsenko
Copy link
Contributor

Due to the fact that some of these methods might return earlier - there could be nil result set on pin/unpin result tasks. This fixes the issue by enforcing generic types across both PFPinningObjectStore and PFObject implementation.

Contributes to #604, #563

@nlutsenko nlutsenko added this to the 1.12.0 milestone Dec 29, 2015
@facebook-github-bot
Copy link

@nlutsenko updated the pull request.

@richardjrossiii
Copy link
Contributor

I can't wait till we can have a compiler warning for a lack of generic type, personally.

@nlutsenko
Copy link
Contributor Author

Yeah, that would be extremely helpful.

nlutsenko added a commit that referenced this pull request Dec 29, 2015
Fixed potential issue with wrong result type set on pin/unpin methods of PFObject.
@nlutsenko nlutsenko merged commit c7e8645 into master Dec 29, 2015
@nlutsenko nlutsenko deleted the nlutsenko.unpin.fix branch December 29, 2015 20:59
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.

4 participants