4 ms·
Yep, `title` and `date` are also fields on the same type `Post`. You could do this too: ``` query { posts { desc: echo(value: "{{ title }} with {{ dat
by leoloso 6y ago
Yep, `title` and `date` are also fields on the same type `Post`. You could do this too:
```
query {
posts {
desc: echo(value: "{{ title }} with {{ date }}")
title
date
}
}
```
If those fields are not there, then it will give an error. I added a section about this on my proposal, under section "Further research":
https://leoloso.com/posts/proposal-for-embeddable-fields-in-graphql-query/#heading-behavior-when-field-is-not-found https://leoloso.com/posts/proposal-for-embeddable-fields-in-...