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

Update source_gen to 2.0.0 #1825

Open
objectorientedperson opened this issue Jan 31, 2025 · 2 comments
Open

Update source_gen to 2.0.0 #1825

objectorientedperson opened this issue Jan 31, 2025 · 2 comments

Comments

@objectorientedperson
Copy link

Problem

Hi,

When I try to use the realm with auto_route, it gives the error below:

Because auto_route_generator 9.3.0 depends on source_gen ^2.0.0 and realm_generator >=0.2.0-alpha depends on source_gen ^1.1.0, auto_route_generator 9.3.0 is incompatible with realm_generator >=0.2.0-alpha.
And because realm >=20.0.1 depends on realm_dart ^20.0.1 which depends on realm_generator ^20.0.1, auto_route_generator 9.3.0 is incompatible with realm >=20.0.1.

Solution

Updating the source_gen dependency to 2.0.0

Alternatives

No response

How important is this improvement for you?

Dealbreaker

Feature would mainly be used with

Local Database only

@victorcode1
Copy link

please I need it too

@schmitzli
Copy link

Flutter / Dart is still moving fast and we need to move on to latest stables.
Source_gen should only be a dev_dependency, but realm depends on it,
is there a possibility to have the realm without the generator in the app dependencies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants