graphql constraint directive:验证GraphQL字段 源码
graphql-constraint-directive 允许使用@constraint作为指令来验证输入数据。 受和OpenAPI的启发 安装 npm install graphql-constraint-directive 用法 const { constraintDirective , constraintDirectiveTypeDefs } = require ( 'graphql-constraint-directive' ) const express = require ( 'express' ) const { ApolloServer } = require ( 'apo
文件列表
graphql-constraint-directive-master.zip
(预估有个25文件)
graphql-constraint-directive-master
.eslintrc
38B
.gitattributes
12B
scalars
string.js
3KB
formats
email.js
211B
ipv6.js
208B
date.js
225B
uri.js
205B
暂无评论