Skip to content

Consider providing a convenient accessor for custom options from Desc* types #701

@Jayatubi

Description

@Jayatubi

It looks like getExtension could only be used on Message instance but not Descriptors as findCustomScalarOption used to do.

What if I want to get the options without creating a new instance but only with the Descriptors, such as get options from an enum?

It would be better if these extension related interfaces could be used with Types, aka Descriptors, instead of instances.

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