Page Contents

Home > @loopback/graphql > GraphQLServer > exportGraphQLSchema

GraphQLServer.exportGraphQLSchema() method

Signature:

exportGraphQLSchema(outFile?: string, log?: {
        (...data: any[]): void;
        (message?: any, ...optionalParams: any[]): void;
    }): Promise<void>;

Parameters

Parameter Type Description
outFile string  
log { (…data: any[]): void; (message?: any, …optionalParams: any[]): void; }  

Returns:

Promise<void>