Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert query_root param descriptions to same pattern as in follow_wallets #559

Open
austinmilt opened this issue Jul 5, 2022 · 0 comments
Assignees
Labels

Comments

@austinmilt
Copy link
Contributor

austinmilt commented Jul 5, 2022

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 austinmilt self-assigned this Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

2 participants