diff --git a/README.md b/README.md index f726ee6..f682686 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,11 @@ # Nectar Nectar is a thin, type-safe, declarative router layer built on top of the Hummingbird server framework. It brings high-ergonomics, controller-style endpoint definitions to server-side Swift without sacrificing performance. -> [!IMPORTANT] -> Nectar is currently a Proof of Concept (PoC). If there is enough interest and community feedback, it will be expanded into a fully tested, public library. - ```swift import Nectar struct AppEntry: NectarApp { - var endpoints: [Endpoint] { + var endpoints: [any EndpointGroup] { UserEndpointGroup() } } @@ -17,7 +14,7 @@ struct AppEntry: NectarApp { struct UserEndpointGroup: EndpointGroup { let partialName = "users" - var subgroups: [Endpoint] { + var subgroups: [any EndpointGroup] { PathExtension(":id") { CommentEndpointGroup() }