You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Collection<SomeModel>("placeA/*/subPlaceA/*/models")
@Collection<SomeModel>("placeB/*/models")
final modelsRef =ModelsCollectionReference();
I would receive the same model from both collections.
Actual Behavior
I get error:
Defined a collection with duplicate class prefix UserGameInfoModel. Either use a different class, or set a unique class prefix.
And when I set prefix build runner generates new separate model. Which means I would need to duplicate my business logic code even though it should use the same model.
The text was updated successfully, but these errors were encountered:
Expected Behavior
I would receive the same model from both collections.
Actual Behavior
I get error:
And when I set prefix build runner generates new separate model. Which means I would need to duplicate my business logic code even though it should use the same model.
The text was updated successfully, but these errors were encountered: