Closed Ogeon closed 8 years ago
I'm considering removing the Hypermedia
struct for now, since the Handler
trait can take care of that, and just have the hyperlinks in the Context
. I can't think of anything else that can only come from the router...
@homu r+
:pushpin: Commit 8e101c2 has been approved by Ogeon
:hourglass: Testing commit 8e101c2 with merge cf9f274...
This changes some of how hypermedia is delivered to the handlers. It's possible to access the handlers that hyperlinks points at and get a description string from them. Routers are no longer responsible for delivering any other kind of hypermedia, so the
Hypermedia
type has been removed and only hyperlinks are delivered through theEndpoint
.This is a breaking change for anything that uses the hyperlinks or the
Hypermedia
structure in any way, including custom routers.