Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Meyer <[email protected]>
  • Loading branch information
elle-j and takameyer committed Aug 29, 2023
1 parent dab2e8e commit 5c3f9d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### Fixed
* Fixed toolchain on Linux. On older Linux installations, the error `GLIBC_2.34' not found (required by /home/user/MyProject/node_modules/realm/generated/ts/realm.node)` could be observed. ([#6082](https://github.com/realm/realm-js/issues/6082), since v12.0.0)
* Fixed accessing `Realm.Object.linkingObjects()` when the origin and target are of different object types. ([#6108](https://github.com/realm/realm-js/pull/6108))
* Fixed accessing `Realm.Object.linkingObjects()` when the origin and target are of different object types. ([#6108](https://github.com/realm/realm-js/pull/6108), since v12.0.0)

### Compatibility
* React Native >= v0.71.4
Expand Down
4 changes: 2 additions & 2 deletions packages/realm/src/Object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ export class RealmObject<T = DefaultObject, RequiredProperties extends keyof Omi
// See `[binding.PropertyType.Array]` in `PropertyHelpers.ts`.
get(results: binding.Results, index: number) {
return results.getObj(index);
}
}
},
};

// Create the Result for the backlink view.
const tableRef = binding.Helpers.getTable(this[REALM].internal, targetObjectSchema.tableKey);
Expand Down

0 comments on commit 5c3f9d6

Please sign in to comment.