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
Why does createUseQuery return Realm.Results<T & Realm.Object<unknown, never>> instead of just Realm.Results<T>?
I don't know Realm that well, but I've used it a bit and noticed that return type. The Realm.Object<unknown, never> part looks a little strange to me because I would just expect Realm.Results<T> to be returned. Not saying I know better or anything like that; just curious.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Why does
createUseQuery
returnRealm.Results<T & Realm.Object<unknown, never>>
instead of justRealm.Results<T>
?I don't know Realm that well, but I've used it a bit and noticed that return type. The
Realm.Object<unknown, never>
part looks a little strange to me because I would just expectRealm.Results<T>
to be returned. Not saying I know better or anything like that; just curious.Beta Was this translation helpful? Give feedback.
All reactions