graphql guard:GraphQL的简单授权gem 源码

上传:southwest_75107 浏览: 18 推荐: 0 文件:ZIP 大小:17.96KB 上传时间:2021-02-18 05:00:25 版权申诉
图形保护器 此gem为提供了字段级授权。 内容 用法 定义一个GraphQL模式: # Define a type class PostType < GraphQL :: Schema :: Object field :id , ID , null : false field :title , String , null : true end # Define a query class QueryType < GraphQL :: Schema :: Object field :posts , [ PostType ] , null : false do
上传资源
用户评论