c# - 无法从类型引用“输出:选项”中推断或解析模式类型`
问题描述
我有一个类包含以下代码。
public class ResponderSettings
{
public string DefaultCurrency { get; set; }
public Option<Field> CustomField { get; set; }
}
我写了一个graphQL端点来获取上述信息,但我面临以下问题。
[18:07:02 ERR] An unhandled exception has occurred while executing the request.
HotChocolate.SchemaException: For more details look at the `Errors` property.
1. Unable to infer or resolve a schema type from the type reference `Output: Option<Field>`.
有人可以帮我解决这个问题吗?
解决方案
推荐阅读
- dicom - GDCM C-Move 问题与包含文档/报告的研究
- azure - istio azure sql db 外部连接
- python-3.x - Github API 生成的带注释的标签没有出现在 git describe 中
- sql - Athena SQL - 使用外列的自连接子查询
- reactjs - ReactDOM 渲染 -> DOMParser -> querySelectorAll -> 返回 null
- svg - .svg 可以在 webpack 中加载两次吗?
- java - 将 Xamarin 代码转换为本机
- c - 在c中将char转换为int
- vba - 使用 VBA 打开时获取 .xlsm 文件以不执行代码
- c# - 如何管理同名构造函数