fix(transformer): Put paramater data in the same order as the reflected version.
Previously it would be [@Inject(#thing), Thing], but it should be [Thing, @Inject(#thing)].
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ void initReflector(reflector) {
|
||||
..registerType(SoupComponent, {
|
||||
'factory':
|
||||
(String description, salt) => new SoupComponent(description, salt),
|
||||
'parameters': const [const [Tasty, String], const [const Inject(Salt)]],
|
||||
'parameters': const [const [String, Tasty], const [const Inject(Salt)]],
|
||||
'annotations': const [const Component(selector: '[soup]')]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user