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

Freezed is run before Objectbox Generator #752

Closed
wants to merge 2 commits into from

Conversation

vlado-rudenok
Copy link

Description

The PR fixes an issue when ObjectBox Generator is run before freezed, what makes impossible to generate database scheme.

Related issues
objectbox/objectbox-dart#424
Milad-Akarie/auto_route_library#1086

The issue is reproducible provided the project contains freezed, objectbox and auto_route dependencies.

@rrousselGit
Copy link
Owner

Freezed specifies runs_before because it outputs json_serializable code

If you want to make a code generator that runs after Freezed, you can do that inside your own build.yaml instead of Frrezed's

You might want to edit Object Box's build.yaml to tell it to run after Freezed

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

Successfully merging this pull request may close these issues.

None yet

2 participants