From be3b3bd3d2bae86505d9fc48eaba5a5a83cbce06 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Tue, 10 Oct 2017 12:55:42 -0400 Subject: [PATCH] pattern matching --- .idea/libraries/Dart_Packages.xml | 64 +- ..._or_throws_in_parameter_meta_test_dart.xml | 8 + .idea/workspace.xml | 699 +++++++++--------- CHANGELOG.md | 3 + lib/src/http/injection.dart | 160 ++-- lib/src/http/metadata.dart | 104 +++ lib/src/http/request_context.dart | 2 + lib/src/http/server.dart | 28 +- pubspec.yaml | 2 +- test/all.dart | 2 + test/parameter_meta_test.dart | 131 ++++ test/routing_test.dart | 14 + 12 files changed, 753 insertions(+), 464 deletions(-) create mode 100644 .idea/runConfigurations/injects_session_or_throws_in_parameter_meta_test_dart.xml create mode 100644 test/parameter_meta_test.dart diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 695dedd4..98dd117d 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -26,14 +26,14 @@ - - @@ -47,7 +47,7 @@ - @@ -131,7 +131,7 @@ - @@ -145,14 +145,14 @@ - - @@ -222,7 +222,7 @@ - @@ -250,7 +250,7 @@ - @@ -271,14 +271,14 @@ - - @@ -327,7 +327,7 @@ - @@ -362,7 +362,7 @@ - @@ -383,7 +383,7 @@ - @@ -397,7 +397,7 @@ - @@ -418,14 +418,14 @@ - - @@ -435,10 +435,10 @@ - - + + - + @@ -450,10 +450,10 @@ - + - - + + @@ -463,36 +463,36 @@ - + - + - - + + - + - + - + - + - - + + diff --git a/.idea/runConfigurations/injects_session_or_throws_in_parameter_meta_test_dart.xml b/.idea/runConfigurations/injects_session_or_throws_in_parameter_meta_test_dart.xml new file mode 100644 index 00000000..17a6c854 --- /dev/null +++ b/.idea/runConfigurations/injects_session_or_throws_in_parameter_meta_test_dart.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ed7a7c9c..51b975ac 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,24 +2,18 @@ - - - + + + - - - - + + - - + - - - @@ -45,11 +39,19 @@ - - - - - + + + + + + + + + + + + + @@ -57,44 +59,55 @@ - - - + + + + + - - - - - - - - - - - - - - - - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -102,57 +115,13 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -169,19 +138,6 @@ - print( - handleaNGE - stderr - _AFTERp - _afterProc - _beforeP - _fatalE - fatalError - fatale - FATAL - error ?? - sendRes - print .name logger handleRequ @@ -199,6 +155,19 @@ addStr Stopwatc _controllers + pipeline + handle + uncaught + header + creat + crea + run( + /* + runG + catchError + query + value == n + handleCont _isClosed @@ -215,6 +184,8 @@ if (_isClosed && !_useStream) logger?.warning JSON.decode + query + cookie C:\Users\thosa\Source\Angel\framework\lib @@ -236,9 +207,6 @@ @@ -297,9 +268,9 @@ DEFINITION_ORDER - @@ -320,8 +291,10 @@ - + + + @@ -347,27 +320,15 @@ - - - - - - - - - -