Closed mprinc closed 6 years ago
I like the chaining part, regarding describing path objects I already merged #10 , I like it explictly path
as method
instead of p
and m
.
I would like to merge the chaining part:
I am very sorry I took so long to reply.
👍 I would love to have this too!
Added support for chaining: .unless({path: ['/test', '/fobo']}) .unless({path: {p: '/nada', m: ['PUT', 'GET']}}) .unless({method: ['OPTIONS']});
Added support for path describing as object .unless({ path: [ '/milica', {p: '/nada', m: 'OPTIONS'}, {p: '/mile', m: ['DELETE', 'PUT']} ] });