private SDLBuilder(GraphQLSchema schema, SDLBuilderOptions options) { _schema = schema; _options = options; }
/// <summary> Build the SDL schema using the GraphQL schema from introspection request using the specified output options. </summary> /// <param name="schema"> GraphQL schema. </param> /// <param name="options"> Output options. </param> /// <returns> SDL schema. </returns> public static string Build(GraphQLSchema schema, SDLBuilderOptions options) => new SDLBuilder(schema, options ?? throw new ArgumentNullException(nameof(options))).Build();