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

fix channel registration ordering so that channels happen before giraffe #172

Closed baronfel closed 5 years ago

baronfel commented 5 years ago

It seems like you can't call Configure multiple times, because in my local testing of the channels feature I could never get a channel to negotiate!

This MR changes the registration order around a bit so that there's an explicit list of modifications that we build up with comments as to why they are layered in such a way.

With this, the channel sample works for me.