@graphql-mesh/thrift
Version:
13 lines (12 loc) • 526 B
text/typescript
import { GetMeshSourcePayload, MeshHandler, MeshHandlerOptions, MeshSource, YamlConfig } from '@graphql-mesh/types';
export default class ThriftHandler implements MeshHandler {
private config;
private baseDir;
private sdl;
private importFn;
private logger;
private subgraphName;
constructor({ config, baseDir, store, importFn, logger, name, }: MeshHandlerOptions<YamlConfig.ThriftHandler>);
private buildEndpointUrl;
getMeshSource({ fetchFn }: GetMeshSourcePayload): Promise<MeshSource>;
}