is it possible to build graphql queries using existing interfaces? or we should write same code twice)
for example in the doc we have
interface Post {
id: string;
title: string;
...
and then writing same fields in query
query allPosts {
posts {
id
title
...
is there any way to write something like
query allPosts {
posts: Post[]