mirror of
https://github.com/rjNemo/federation
synced 2026-06-09 03:36:38 +00:00
11 lines
381 B
TypeScript
11 lines
381 B
TypeScript
import { GraphQLSchema } from 'graphql';
|
|
import { Request } from '../Interfaces';
|
|
import { Transform } from './transforms';
|
|
export default class AddArgumentsAsVariablesTransform implements Transform {
|
|
private schema;
|
|
private args;
|
|
constructor(schema: GraphQLSchema, args: {
|
|
[key: string]: any;
|
|
});
|
|
transformRequest(originalRequest: Request): Request;
|
|
}
|