Closed zerodivisi0n closed 7 months ago
Currently there is no way to return multiple urls from URLMatcher. So it's impossible to get all urls from the following code:
const n = i.Z.resource("api/users", { create: { method: "POST" }, get: { method: "GET", url: "{userId}" }, list: { method: "POST", url: "list" }, update: { method: "POST", url: "update" }, get: { method: "DELETE", url: "{userId}" }, );
In this PR I added ability to return multiple urls from URLMatcher, but without maintaining backward compatibility. More on this in code comments.
URLMatcher
Card
Currently there is no way to return multiple urls from URLMatcher. So it's impossible to get all urls from the following code:
Details
In this PR I added ability to return multiple urls from
URLMatcher
, but without maintaining backward compatibility. More on this in code comments.