Crate wundergraph_derive

Crate wundergraph_derive 

Source
Expand description

A helper crate implementing a bunch of custom derives for wundergraph

Derive Macrosยง

BuildFilterHelper
A custom derive to implement the BuildFilterHelper trait
WundergraphBelongsTo
A custom derive to implement the WundergraphBelongsTo trait for all HasOne fields of a given entity
WundergraphEntity
A custom derive to implement all wundergraph related traits for a entity Using this trait implies internally #[derive(WundergraphBelongsTo)] and #[derive(BuildFilterHelper)]
WundergraphValue
A custom derive to add support for a custom enum type