SaturnFramework / Saturn

Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
https://saturnframework.org
MIT License
714 stars 108 forks source link

Sample of `with_auth` router directive #173

Closed baronfel closed 4 years ago

baronfel commented 5 years ago

Here's how with_auth in the context of #169 might look in an router.

Krzysztof-Cieslak commented 4 years ago

Closing this one. With the future move to endpoint routing, the path routing will by-design be a first thing to run in the whole application. So there's no sense adding right now API that can't be used the same way with a new solution

baronfel commented 4 years ago

Makes sense to me 👍