Open vlado-rudenok opened 1 year ago
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.
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?).
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.