server: Add the attribute schema to the attributes in graphql

And make sure that we only request the schema once per top-level query
This commit is contained in:
Valentin Tolmer
2024-01-21 23:16:21 +01:00
committed by Austin Alvarado
parent d459ac0c78
commit c012c2891b
4 changed files with 229 additions and 181 deletions

9
schema.graphql generated
View File

@@ -1,6 +1,7 @@
type AttributeValue {
name: String!
value: [String!]!
schema: AttributeSchema!
}
type Mutation {
@@ -152,10 +153,6 @@ type User {
groups: [Group!]!
}
type AttributeList {
attributes: [AttributeSchema!]!
}
enum AttributeType {
STRING
INTEGER
@@ -163,6 +160,10 @@ enum AttributeType {
DATE_TIME
}
type AttributeList {
attributes: [AttributeSchema!]!
}
type Success {
ok: Boolean!
}