/
NikolayIvkin
/
tutorials1
Обзор
Документация
Войти
/
NikolayIvkin
/
tutorials1
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
graphql-modules/graphql-java/src/main/resources/schema.graphqls
43 строки
533 B
Dhawal Kapil
JAVA-12421 Renamed graphql to graphql-modules
03 июн 2022, 15:30
03 июн 2022, 15:30
db663d2
Код
Авторство
О чём код?
type Book { title: String! author: Author } type Author { name: String! surname: String! } type Query { allBooks: [Book] products(size: Int, page: Int): [Product]! product(id: Int): Product! } type Product { id: ID name: String! description: String attribute_string:String attribute_list:[AttributeKeyValuePair] attributes: JSON } type AttributeKeyValuePair { key:String value:Attribute } type Attribute { name:String description:String unit:String } scalar JSON schema { query: Query }