在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):leangen/graphql-spqr-samples开源软件地址(OpenSource Url):https://github.com/leangen/graphql-spqr-samples开源编程语言(OpenSource Language):JavaScript 94.5%开源软件介绍(OpenSource Introduction):GraphQL-SPQR Spring Boot SamplesSimplistic Spring Boot application for demoing GraphQL SPQR lib's capabilities. This is mostly used by us for doing live demo's in our talks, not as documentation. Package with Maven, run the jar, play around. Out of the box, the application runs on port 8000 GraphQL Playground (graphical environment) is mapped to API is exposed on Example queries can be found in javadoc for query methods For an elaborate introspection query you might want to use: query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
description
locations
args {
...InputValue
}
}
}
}
fragment FullType on __Type {
kind
name
description
fields(includeDeprecated: true) {
name
description
args {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields {
...InputValue
}
interfaces {
...TypeRef
}
enumValues(includeDeprecated: true) {
name
description
isDeprecated
deprecationReason
}
possibleTypes {
...TypeRef
}
}
fragment InputValue on __InputValue {
name
description
type { ...TypeRef }
defaultValue
}
fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
}
} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论