-
-
Notifications
You must be signed in to change notification settings - Fork 316
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Generator fails to generate a store when this store uses generics and not imported the type of the generic.
I've created a sample project: https://github.com/Andreigr0/mobx_generator_generics_bug.git
Go to some_store_with_generic_value.dart
and try comment the line
import 'package:mobx_generator_generics_bug/main.dart';
this will break generator and it's not obvious since original line would be 16:
GeneratedModelWithGeneric? get someValue => null;
though generator expects line 17:
GeneratedModelWithGeneric<Subtype>? get someValue => null;
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working