A user tried registering a namespace like /foo/bar/, which generated an error. The correct registration was /foo/bar without a trailing /.
I do think it's important that our internal representations of prefixes contain a trailing / so that it's much harder to accidentally match /foo/barbaz to /foo/bar, but we can make this logic transparent to users by permitting registration of both /foo/bar and /foo/bar/ (and treating them the same under the hood).
A user tried registering a namespace like
/foo/bar/, which generated an error. The correct registration was/foo/barwithout a trailing/.I do think it's important that our internal representations of prefixes contain a trailing
/so that it's much harder to accidentally match/foo/barbazto/foo/bar, but we can make this logic transparent to users by permitting registration of both/foo/barand/foo/bar/(and treating them the same under the hood).