Open
Description
Currently is seems that converting from PathCodec[Unit] to Path requires .encode(()).toOption.get
.
I don't understand how encoding can fail.
And the other direction is altogether unclear. Perhaps PathCodec(path.encode)
?
I often need the same endpoint both as a request pattern and as a URL, but there seems to be more friction than necessary.