New Issue Checklist
Issue Description
When a variable used the safeAttribute(String) function, the setValue (from the SafeParseDelegate) was not working properly when its name was different from the name param from the delegate because the name param was being ignored.
Steps to reproduce
Have a model with a variable the uses the SafeParseDelegate. Example:
var image: ParseFile? by safeAttribute(name = "profile_image")
update it and then try to read its updated value
Actual Outcome
The new value that was just set will not be returned
Expected Outcome
The new value that was just set will be returned
Environment
https://github.com/parse-community/Parse-SDK-Android/releases/tag/4.2.1
Parse Android SDK
- SDK version:
4.2.1
- Operating system version:
Android 13 (Tiramisu)
Server
- Parse Server version:
I do not have this info / not related
- Operating system:
I do not have this info / not related
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
I do not have this info / not related
Database
- System (MongoDB or Postgres):
I do not have this info / not related
- Database version:
I do not have this info / not related
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
I do not have this info / not related
New Issue Checklist
Issue Description
When a variable used the
safeAttribute(String)function, thesetValue(from theSafeParseDelegate) was not working properly when its name was different from thenameparam from the delegate because thenameparam was being ignored.Steps to reproduce
Have a model with a variable the uses the
SafeParseDelegate. Example:update it and then try to read its updated value
Actual Outcome
The new value that was just set will not be returned
Expected Outcome
The new value that was just set will be returned
Environment
https://github.com/parse-community/Parse-SDK-Android/releases/tag/4.2.1
Parse Android SDK
4.2.1Android 13 (Tiramisu)Server
I do not have this info / not relatedI do not have this info / not relatedI do not have this info / not relatedDatabase
I do not have this info / not relatedI do not have this info / not relatedI do not have this info / not related