我花了 2 个小时试图找出 Azure Functions .NET6(在 Windows 上)的管道出了什么问题。
Error NETSDK1045: The current .NET SDK does not support targeting .NET 6.0. Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 6.0.
Run Code Online (Sandbox Code Playgroud) 我想对 @ResolveField 使用 @UseGuards 功能,因为我希望主查询是公开的,但特定的内容仅对特定用户可见。我不想使用另一个查询或其他类型的防护。