JAVA-12421 Renamed graphql to graphql-modules
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
|
||||
</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="INFO">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
</configuration>
|
||||
@@ -0,0 +1,43 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user