Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以显示某些集合只能由具有相同权限/角色的用户访问?
例如它是如何在https://api.slack.com/methods/channels.create
Expected scopes: channels:write read
访问权限的概念存在于业务逻辑层,并不是 GraphQL 本身固有的。我认为你最好的选择可能是记录模式中描述字段中的任何约束,然后它们将显示在 GraphiQL 文档资源管理器中。
https://github.com/graphql/graphiql/issues/564
我无法理解这是怎么发生的。在我的页面上显示源代码是这样开始的——是的,那是 html 的开始,我在 Chrome 和 Safari 中仔细检查了它......
</div> </div> </div> <!DOCTYPE html> <html> <head> <