Comments (2)
Use app.chain().group(...)
from angel.
Thank you for indicating a solution.
I was going to suggest modifying line 164 of the router.dart file with that.
/// Creates a route, and allows you to add child routes to it
/// via a [Router] instance.
///
/// Returns the created route.
/// You can also register middleware within the router.
SymlinkRoute<T> group(String path, void Function(Router<T> router) callback, {Iterable<T> middleware, String name}) {
//from this
// middleware ??= <T>[];
// final router = Router<T>().._middleware.addAll(middleware);
//Isaque changed it here
//to this
final router = Router<T>();
callback(router);
if (middleware != null) {
router._routes.forEach((element) {
element.handlers.insertAll(0, middleware);
});
}
return mount(path, router)..name = name;
}
I will follow up with your solution
from angel.
Related Issues (20)
- Service char-encoding and Content-Type
- Codes for graphql
- Flutter Web: Authentication Post becomes Options HOT 2
- GraphQL with Postgress ORM binding?
- Local auth strategy and refresh token
- Cannot have any dependencies that use Flutter HOT 1
- angel_framework doesn't work in flutter project
- RangerError: Invalid value: Not in range 0..1114111 Dart VM version: 2.8.4 HOT 2
- It's project dead? HOT 7
- ContentType crash HOT 8
- HttpException: Unsupported contentTransferEncoding: binary HOT 1
- Error when generating model
- how to stream MongoDB data?
- About using sqlite with angel orm
- How to fetching only some columns/properties Angel Orm(Angel Framework DART )?
- Error: e.message.toString()
- build_runner failing with constantValue not defined for FieldElement class HOT 2
- Analyzer package install error HOT 1
- Null safety support HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angel.