levibostian / Wendy-Android

Build offline first Android mobile apps. Remove loading screens, perform tasks instantly.
https://levibostian.github.io/Wendy-Android/wendy/
MIT License
64 stars 16 forks source link

Remove `buildQueryForExistingTask` from PendingApiTaskModel #7

Closed levibostian closed 6 years ago

levibostian commented 7 years ago
    // TODO I should not need this call below anymore. I could use RealmObject API to get the primary key of a model and query via the primary key. It's all you need to query!
    override fun buildQueryForExistingTask(realmQuery: RealmQuery<RealmObject>): RealmQuery<RealmObject> {
        return realmQuery.equalTo("chat_message_realm_id", chat_message_realm_id).equalTo("email", email)
    }
levibostian commented 6 years ago

The newest version of Wendy does not even use Realm so this will no longer be needed.