You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct extensions of ParseObject seem to force their name as the classTitle
struct GameScore: ParseObject { ... }
We use Stripe as another library - Stripe has a class called Event. One of the tables in our database that is heavily populated is already called Event.
Feature / Enhancement Description
Allow extensions of ParseObject to function more like PFObject. While it's a lot of work for us to have to add in
struct SomeDatabaseTableName: ParseObject { ... }
this is not impossible, albeit just a lot of boilerplate code.
Example Use Case
struct RandomClassName: ParseObject {
var className = "ActualDatabaseClassName"
}
Alternatives / Workarounds
We could migrate the entire table into a new one and update all of the code to point to a new table, but that would still leave us at the mercy of any of our dependencies adding in a new class or struct that conflicts with ours.
3rd Party References
The original obj-c Parse SDK
The text was updated successfully, but these errors were encountered:
❌ Please edit your post and use the provided template when creating a new issue. This helps everyone to understand your post better and asks for essential information to quicker review the issue.
Uh oh!
There was an error while loading. Please reload this page.
Current Limitation
struct extensions of ParseObject seem to force their name as the classTitle
struct GameScore: ParseObject { ... }
We use Stripe as another library - Stripe has a class called Event. One of the tables in our database that is heavily populated is already called Event.
Feature / Enhancement Description
Allow extensions of ParseObject to function more like PFObject. While it's a lot of work for us to have to add in
struct SomeDatabaseTableName: ParseObject { ... }
this is not impossible, albeit just a lot of boilerplate code.
Example Use Case
Alternatives / Workarounds
We could migrate the entire table into a new one and update all of the code to point to a new table, but that would still leave us at the mercy of any of our dependencies adding in a new class or struct that conflicts with ours.
3rd Party References
The original obj-c Parse SDK
The text was updated successfully, but these errors were encountered: