Skip to content

Make DESCRIPTION in RPC methods mandatory #7210

Closed

Description

@LesnyRumcajs

Summary

Once #6460 is closed, we should be able to easily make the description mandatory, thus having eternally up-to-date documentation in future method implementations (right?)

Completion Criteria

  • const DESCRIPTION: Option<&'static str> = None; -> &'static str

Additional Links & Resources

Activity

  1. added
    Type: Task
    on Jun 19, 2026
  2. 0xDevNinja commented on Jul 2, 2026

    @0xDevNinja
    Contributor

    Now that #6460 is done, I would like to take this. Plan: change the trait constant const DESCRIPTION: Option<&'static str> to a mandatory const DESCRIPTION: &'static str, convert the existing Some(...) impls accordingly, and fill in descriptions for the handful of methods that were still relying on the None default.

  3. moved this from New to In review in Forest Backlog 🌲on Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: Task

Type

No type

Fields

Priority

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions