We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e89cc8e commit 948b163Copy full SHA for 948b163
src/api-server.ts
@@ -127,6 +127,11 @@ const buildResolvers = (
127
reportError(e);
128
return false;
129
}
130
+ },
131
+ metadata: (interceptor: Interceptor) => {
132
+ return interceptor.getMetadata
133
+ ? interceptor.getMetadata()
134
+ : undefined;
135
136
},
137
src/interceptors/index.ts
@@ -14,6 +14,8 @@ export interface Interceptor {
14
id: string;
15
version: string;
16
17
+ getMetadata?(): any;
18
+
19
isActivable(): Promise<boolean>;
20
isActive(proxyPort: number): boolean;
21
0 commit comments