graphql guard:GraphQL的简单授权gem 源码
图形保护器 此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
下载地址
用户评论