indexer icon indicating copy to clipboard operation
indexer copied to clipboard

convert query_root param descriptions to same pattern as in follow_wallets

Open austinmilt opened this issue 2 years ago • 0 comments

Describing params with #[graphql(description = "Search term")] term: String pattern attached to the parameter results in no generated docs for the param. Instead, we need to describe params in the method annotation, like

   #[graphql(
        description = "Recommend wallets to follow.",
        arguments(
            wallet(description = "A user wallet public key"),
            limit(description = "The query record limit"),
            offset(description = "The query record offset")
        )
    )]

austinmilt avatar Jul 05 '22 17:07 austinmilt