Adds example filtered query
This commit is contained in:
parent
eedb86c7fd
commit
c98d525caa
|
|
@ -0,0 +1,31 @@
|
|||
query BookQuery {
|
||||
books {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
title
|
||||
topics(first:1) {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
title
|
||||
slug
|
||||
teaser
|
||||
modules(slug_Icontains:"ate") {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
title
|
||||
slug
|
||||
teaser
|
||||
heroImage
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
modules: []
|
||||
}
|
||||
},
|
||||
|
||||
apollo: {
|
||||
modules: {
|
||||
query: ALL_MODULES,
|
||||
|
|
@ -30,8 +31,13 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
|
||||
head: {
|
||||
title: 'Modules with Apollo'
|
||||
},
|
||||
|
||||
created() {
|
||||
// debugger
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue