#[juniper::object]
interfaces attribute not documented
#658
Labels
k::documentation
Related to project documentation
Hi,
this afternoon I've been porting some graphql types to using the attribute macro syntax. I was stuck trying to get my interfaces working correctly.
I think I've figured it out, with
interfaces
now being an attribute of the macro, but I couldn't see any mention of that syntax anywhere in the docs, and had to dig into the source.Other than this I'm very much liking the attribute macro syntax! reads much more nicely, and rustfmt works correctly.
Old:
New:
The text was updated successfully, but these errors were encountered: