- marked as major
Convert All Models to use Getters and Setters
Issue #21
resolved
To enforce data cleanliness, we should eventually move the models to use getter and setter methods. They can ensure that the data in the model are stored in a consistent manner.
Note that to do this, we'd likely need to post some annotations for the serializer to use the methods since the variables would be moved to private.
This is very low priority at this time.
Comments (2)
-
reporter -
- changed status to resolved
Convert Friendslist/Profile Models to use Getters and Setters.
Note: Some parsing methods are changed. Fixes
#21→ <<cset 2c27b969c424>>
- Log in to comment
If we want to version the API output, we'll need to use getters and setters along with some annotation so the serializer will return the right information. Bumping priority up.