dynamic-graphql-derive 0.10.2

Dynamic GraphQL schema macro
Documentation
1
2
3
4
5
6
7
8
9
pub trait MatchPath: Sized {
    fn match_path(path: &syn::Path) -> Option<darling::Result<Self>>;
}

impl MatchPath for syn::Path {
    fn match_path(path: &syn::Path) -> Option<darling::Result<Self>> {
        Some(Ok(path.clone()))
    }
}