Skip to content

Instantly share code, notes, and snippets.

@candostdagdeviren
Created May 21, 2017 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save candostdagdeviren/c2ca59f61a7e7b550dd3a7322be2faf7 to your computer and use it in GitHub Desktop.
Save candostdagdeviren/c2ca59f61a7e7b550dd3a7322be2faf7 to your computer and use it in GitHub Desktop.
Vapor 1 -> 2 Migration
class OurCoolCollection: RouteCollection {
typealias Wrapped = HTTP.Responder
func build<Builder: RouteBuilder>(_ builder: Builder) where Builder.Value == Responder { ... }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment