示例#1
0
 public static IGraphQLBuilder AddNewtonsoftJson(this IGraphQLBuilder builder, Action <JsonSerializerSettings, IServiceProvider>?action)
 => builder.AddDocumentWriter <DocumentWriter>().Configure(action);
示例#2
0
 public static IGraphQLBuilder AddSystemTextJson(this IGraphQLBuilder builder, Action <JsonSerializerOptions, IServiceProvider>?action)
 => builder.AddDocumentWriter <DocumentWriter>().Configure(action);