Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Updates download point
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesseanwright authored Jul 22, 2019
1 parent 4539b0a commit 0d67d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
AugmentedRequest,
RouteMap,
jsonResponse,
} from 'https://deno.jamesswright.co.uk/reno/0.0.2/mod.ts';
} from 'https://raw.githubusercontent.com/jamesseanwright/reno/v0.0.2/reno/mod.ts';

const encoder = new TextEncoder();

Expand Down Expand Up @@ -88,4 +88,4 @@ const app = async (req: ServerRequest) => {

Without having to mentally grok the flow of a request within a chain of middlewares, we're able to build foundational functionality around our router. Want to serve error respones? Handle `Promise` rejections with `#catch`. Want to `log` requests? Call your logger of choice explicitly before forwarding a request to the router.

There are certainly instances in which the middleware pattern _can_ be beneficial, but I believe it compromises the ability to explicitly declare intent. I'll provide more examples as I further flesh out this project.
There are certainly instances in which the middleware pattern _can_ be beneficial, but I believe it compromises the ability to explicitly declare intent. I'll provide more examples as I further flesh out this project.

0 comments on commit 0d67d6a

Please sign in to comment.