0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00

Clarify that reverse/format_error constraint ops are experimental

This commit is contained in:
Loïc Hoguin 2025-02-10 11:24:45 +01:00
parent 72b57a846d
commit 971684788d
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
2 changed files with 12 additions and 4 deletions

View file

@ -91,6 +91,11 @@ int(forward, Value) ->
The value must be returned even if it is not converted
by the constraint.
The two other operations are currently experimental. They are
meant to help implement HATEOAS type services, but proper
support for HATEOAS is not expected to be available before
Cowboy 3.0 because of Cowboy's current router's limitations.
The `reverse` operation does the opposite: it
takes a converted value and changes it back to what the
user input would have been.