Jonas Finnemann Jensen
Jonas Finnemann Jensen
```dart app.get( '/user/', Pipeline().addMiddleware(myMiddleware).addHandler((Request request) { return Response.ok('hello ${shelf_router.params(request, 'user')}'); }) ); ``` This you can already do using [params](https://pub.dev/documentation/shelf_router/latest/shelf_router/params.html). The signature of the handled is NOT required to have...
I think using `Pipeline` whenever possible is a good solution... it's not as elegant as code-gen, but as the underlying support for code-gen it's probably fine :)
This is possible when: * using the Dart SDK installed along with the Flutter SDK, because: * Flutter wraps the `dart` binary in a bat/bash script that defines `FLUTTER_ROOT`, and,...
```yaml dependencies: flutter: sdk: flutter ``` Is a direct-dependency on package "flutter" from "Flutter SDK". I don't think that's the correct way to express that something is a Flutter project....
> Why? It literally says "I depend on the Flutter SDK"! It says I depend on "package:flutter" from the Flutter SDK. I guess when writing Flutter a flutter app or...
Maybe we should special case the error message: `: Error: Not found: 'dart:ui'`?
We actually implemented this check in `pub publish`, but there is no reason it should only exist there. In fact I think we would like to remove it from `pub...
Warning against importing `dev_dependencies` from `lib/` or `bin/` is easy and huge win. But a lint which suggests that a package could be in `dev_dependencies` will likely have many false...
This would also be nice for `pub.dev`, maybe we output a small `metrics.json` file or something.
I don't think I particularly dislike this specific feature. I just sort of generally would prefer to avoid adding any features. Routing is a critical feature, introducing unnecessary complexity is...