objectbox-dart icon indicating copy to clipboard operation
objectbox-dart copied to clipboard

Freezed: be sure it is run before objectbox generator

Open vlado-rudenok opened this issue 3 years ago • 1 comments

Description

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

Related issues https://github.com/objectbox/objectbox-dart/issues/424 https://github.com/Milad-Akarie/auto_route_library/issues/1086

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

vlado-rudenok avatar Sep 27 '22 10:09 vlado-rudenok

Thanks! However, I don't think it's a good idea to have workarounds explicitly for other libraries. So not sure about this (also, would this even work if no freezed files are present?).

greenrobot-team avatar Oct 04 '22 12:10 greenrobot-team