-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
1 - XS (<= 1 day)
-
2645
-
Not Needed
Goals
Alignment on the naming of boolean properties describing a predicate of the Realm.
Expected Results
I would expect all of these properties either all start with is or none of them should.
I suggest renaming (empty and readOnly) to start with is, optionally keeping the old ones but printing a deprecation warning if someone {{get}}s them.
Actual Results
We currently have:
- realm.empty
- realm.isClosed
- realm.isInTransactions
- realm.readOnly
Version of Realm and Tooling
- Realm JS SDK Version: 3.5.0
- Node or React Native: N/A
- Client OS & Version: N/A
- Which debugger for React Native: None