Is there a way to make `Path.string().of("")` opti...
# http4k
v
Is there a way to make
Path.string().of("")
optional? When I have
"/events" / Path.of("eventId")
, it says
404
if
eventId
is not given. Also, what would be difference between
.string()
and
.nonEmptyString()
?
d
Path Params can’t be optional if they are trailing- it doesn’t really make sense You can match “foo//bar” is the difference with string vs nonempty
v
I see
thanks