diff --git a/.yarn/versions/225f960e.yml b/.yarn/versions/225f960e.yml new file mode 100644 index 0000000..870c211 --- /dev/null +++ b/.yarn/versions/225f960e.yml @@ -0,0 +1,2 @@ +releases: + "@typoas/runtime": patch diff --git a/packages/typoas-runtime/src/fetcher/request-context.ts b/packages/typoas-runtime/src/fetcher/request-context.ts index 764ef53..832d091 100644 --- a/packages/typoas-runtime/src/fetcher/request-context.ts +++ b/packages/typoas-runtime/src/fetcher/request-context.ts @@ -49,6 +49,13 @@ export class RequestContext { }); } + /** + * Return the url parsed object. + */ + public getRawUrl(): ParsedUrl { + return this.url; + } + /** * Replaces the url set in the constructor with this url. *