Skip to content

Use getter instead accessing instance variable #1026

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

Conversation

andrey-krukovskiy
Copy link
Contributor

Problem:
Using instance variable outside of object methods leads to crashes when using composition patterns like decorator or proxy with PFObject.
It violate liskov substitution principle and encapsulation of object.

Is there any reason for this?

@ghost
Copy link

ghost commented Sep 8, 2016

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@ghost ghost added the CLA Signed label Sep 8, 2016
@ghost
Copy link

ghost commented Sep 8, 2016

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@flovilmart flovilmart merged commit ab5dcc2 into parse-community:master Jun 19, 2017
tkhoa87 added a commit to notabasement/Parse-SDK-iOS-OSX that referenced this pull request Jun 30, 2017
* ParsePlatform/master:
  ⚡️ Release 1.15.0 (parse-community#1153)
  ⚡ Release 1.14.5 (parse-community#1152)
  Add withinPolygon to Query (parse-community#1150)
  Use getter instead accessing instance variable (parse-community#1026)
  Makes PFEncoder and PFDecoder public for LiveQuery (parse-community#1149)
  Let the iOS SDK handle Delete ops when sent from the server (parse-community#928)
  Outputing offending bundle in assert message. (parse-community#1000)
  Update documentation links (parse-community#1102)
  Swift 3 (parse-community#1145)
  Allowing to re-save installation if LDS is enabled (parse-community#1125)
  Removed or replaced the broken links in the README (parse-community#1141)
  update pod spec homepage (parse-community#1135)
  Update podspec link
  Update links
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