Skip to content

Commit

Permalink
Fix issue with tether not resolving dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Persson committed Oct 9, 2015
1 parent 34774a7 commit 8378769
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/src/tether/server/tether.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ abstract class _ServerTether {
final Container _container = null;

Future applyData(data, Function listener) {
return _container.resolve(listener, injecting: {data.runtimeType: data});
return _container.resolve(listener, injecting: {
data.runtimeType: data,
dynamic: data
});
}
}
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ dependencies:
dotenv: "^0.1.3+1"
http_parser: '^0.0.2+6'
formler: #'^0.1.2'
git: https://github.com/Daegalus/formler
git: https://github.com/emilniklas/formler
dlog: '^0.0.5'
plato: '>=0.2.0 <1.0.0'
path: '^1.3.5'
http_server: '^0.9.5+1'
trestle: '>=0.5.4 <1.0.0'
trestle: '>=0.5.5 <1.0.0'
async: '^1.3.0'
dev_dependencies:
test: any
Expand Down

0 comments on commit 8378769

Please sign in to comment.