Attribute Macro cynic::schema_for_derives

source ยท
#[schema_for_derives]
Expand description

An attribute macro to automatically add schema attributes to cynic derives.

Most cynic derives take schema_path & query_module parameters and adding each of these to every derive can be laborious and verbose. This attribute provides a way to avoid repeating yourself quite as much.

See the book for usage details