Skip to content

Generated getter methods from RPC spec not aligned with the setter methods #380

@crokita

Description

@crokita

Bug Report

The getter methods are different in how it documents whether it is deprecated. Firstly, it checks if the whole class has a deprecated flag, instead of checking whether the method specifically has that flag. This means that all getter methods would have the deprecated flag if the class itself has the tag. Secondly, it does not provide @since or version information regarding the deprecation.

Reproduction Steps

Run the generator

Expected Behavior

Getter documentation should match the setter documentation for deprecated methods.

Observed Behavior

The deprecated getter methods only have the tag @deprecated and no extra information such as @since or when the method was deprecated. Some getter methods mistakenly have the @deprecated tag on them. See DisplayCapabilities for an example.

Browser & Version Information

This is a generator bug, so all versions are affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions