Why doesn't createUseQuery return Realm.Results<T>? #5743
Unanswered
trevordunn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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