HotChocolate Batching error: "The specified directive `export` is not supported by the current schema."
HotChocolate Batching error: "The specified directive `export` is not supported by the current schema."
根据文档 on Batching with @export 我的服务器不允许使用此标记。如何添加指令以便可以进行批处理?
必须向架构生成器注册导出指令。
SchemaBuilder.New()
.AddType<ExportDirectiveType>()
...
.Create();
文档中缺少此详细信息。我将更新文档并添加此详细信息。
该指令在 HotChocolate.Execution.Batching
命名空间中。
根据文档 on Batching with @export 我的服务器不允许使用此标记。如何添加指令以便可以进行批处理?
必须向架构生成器注册导出指令。
SchemaBuilder.New()
.AddType<ExportDirectiveType>()
...
.Create();
文档中缺少此详细信息。我将更新文档并添加此详细信息。
该指令在 HotChocolate.Execution.Batching
命名空间中。