Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Conversation

@mdddj
Copy link

@mdddj mdddj commented Jul 19, 2025

resolves #128

mdddj added 10 commits January 21, 2025 17:33
This commit upgrades the `analyzer` and `source_gen` dependencies to their latest versions, which include support for new Dart language features.

The following changes were made to adapt to the new APIs:
- Replaced `analyzer/dart/element/element.dart` with `analyzer/dart/element/element2.dart`.
- Updated various API calls to use the new `element2` and `element3` properties.
- Updated method names like `getters2`, `setters2`, `fields2`, `constructors2`, `nonSynthetic2`, `variable3`, `name3`, and `enclosingElement2`.
- Adjusted how enum constants and their properties are accessed.
The `meta` package has been updated to `^1.17.0` and `test` to `^1.26.2`.

Additionally:
- A redundant cast to `Uint8List` has been removed in `isar_reader_writer_test.dart`.
- The type of `col` in the loop in `Isar.attachCollections` has been explicitly set to `final IsarCollection<dynamic>`.
- Null-aware operator `?? false` has been added to `sortAsc` comparisons in `IsarConnectQuery.buildQuery`.
@penhorwood
Copy link

I am experiencing this issue also. Any movement on this issue? Maybe this PR or this one #122

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adapt to source_gen: 3.0.0

2 participants