Allow the client name to be a symbol (#1254)

This commit is contained in:
Tomas Della Vedova
2020-07-13 12:38:16 +02:00
committed by GitHub
parent 9d30778614
commit 1a7727588e
6 changed files with 59 additions and 4 deletions

2
lib/Transport.d.ts vendored
View File

@ -52,7 +52,7 @@ export interface RequestEvent<TResponse = Record<string, any>, TContext = unknow
warnings: string[] | null;
meta: {
context: TContext;
name: string;
name: string | symbol;
request: {
params: TransportRequestParams;
options: TransportRequestOptions;