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

Lossen cast #1372

Merged
merged 2 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* Sync errors included the error message twice (Core upgrade, since v13.16.0).
* Fixes infinite-loop like issue with await-for-yield over realm set change streams. ([#1344](https://github.com/realm/realm-dart/issues/1344))
* Fixed issue with using flexibleSync in flutter test. ([#1366](https://github.com/realm/realm-dart/pull/1366))
* Fixed a realm generator issue, when used in concert with MobX. ([%1372](https://github.com/realm/realm-dart/pull/1372))

### Compatibility
* Realm Studio: 13.0.0 or later.
Expand Down
2 changes: 1 addition & 1 deletion generator/lib/src/class_element_ex.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ extension on Iterable<FieldElement> {
}

extension ClassElementEx on ClassElement {
ClassDeclaration get declarationAstNode => getDeclarationFromElement(this)!.node as ClassDeclaration;
AnnotatedNode get declarationAstNode => getDeclarationFromElement(this)!.node as AnnotatedNode;

AnnotationValue? get realmModelInfo => annotationInfoOfExact(realmModelChecker);

Expand Down
Loading