add textdepart recursive query
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fragment TextprodRecursiveFields on Textprod {
|
||||
id
|
||||
title
|
||||
familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
__typename
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fragment TextrefRecursiveFields on Textref {
|
||||
id
|
||||
title
|
||||
familles {
|
||||
id
|
||||
name
|
||||
}
|
||||
__typename
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
#import "../fragments/TextrefRecursiveFields.gql"
|
||||
#import "../fragments/TextprodRecursiveFields.gql"
|
||||
|
||||
query TextdepartRecursive($id: Int!) {
|
||||
textref(id: $id) {
|
||||
...TextrefRecursiveFields
|
||||
text_en_rebond {
|
||||
...TextrefRecursiveFields
|
||||
text_en_rebond {
|
||||
...TextrefRecursiveFields
|
||||
text_en_rebond {
|
||||
...TextrefRecursiveFields
|
||||
}
|
||||
text_produits {
|
||||
...TextprodRecursiveFields
|
||||
}
|
||||
}
|
||||
text_produits {
|
||||
...TextprodRecursiveFields
|
||||
}
|
||||
}
|
||||
text_produits {
|
||||
...TextprodRecursiveFields
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user