Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to get the Realm that manages the object #2295

Closed
v-ken opened this issue Mar 20, 2019 · 2 comments
Closed

Ability to get the Realm that manages the object #2295

v-ken opened this issue Mar 20, 2019 · 2 comments
Labels
First-Good-Issue First Good Issue - Relatively easy issue for new contributers O-Community T-Enhancement

Comments

@v-ken
Copy link

v-ken commented Mar 20, 2019

Goals

Ability to get the Realm instance that manages the current Object.
iOS has the ability:
https://realm.io/docs/swift/3.13.1/api/Classes/Object.html#/s:10RealmSwift6ObjectC5realmAA0A0CSgvp

Expected Results

myRealmObject.realm should return the Realm instance that manages the current object

@cmelchior
Copy link
Contributor

There is actually an undocumented _realm property that returns the Realm. We could consider making it public since it is already public in the Java and Swift API's

@bentron2000
Copy link

Any chance you can put this in the 'easy win' pile? inc TypeScript :) Would love to get rid of all these
// @ts-expect-error // unTyped API comments :P

@kraenhansen kraenhansen added the First-Good-Issue First Good Issue - Relatively easy issue for new contributers label Nov 24, 2020
@sync-by-unito sync-by-unito bot closed this as completed Jan 11, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
First-Good-Issue First Good Issue - Relatively easy issue for new contributers O-Community T-Enhancement
Projects
None yet
Development

No branches or pull requests

7 participants