pub struct AsyncGraphql {
pub attrs: TokenStream,
pub fields: Vec<GraphqlField>,
pub skipped: Vec<Ident>,
}Expand description
The async-graphql backend’s rendering.
Fields§
§attrs: TokenStreamattrs(…) — passed onto the emitted type verbatim.
The escape hatch that stops the grammar from chasing a backend’s feature set: deprecation,
visible, guard, complexity and every custom scalar reach the emission through here
rather than through an option apiece.
fields: Vec<GraphqlField>The fields this backend EXPOSES, in the record’s declaration order.
skipped: Vec<Ident>graphql(async_graphql(skip)) — the fields withheld from THIS backend alone, in the record’s
declaration order.
Separate from Graphql::skipped, which is every backend at once: a field withheld here is
absent from this backend’s own face and present in the next one’s, which is the axis the
per-backend block exists for. It is empty for a record that wrote only the common word, and a
field named in both is refused at the declaration — one absence, said once.