Skip to content

goModel/goField/goExtraField/goEnum x protobuf API_OPAQUE #3443

@flymedllva

Description

@flymedllva

What happened?

The Golang team introduced the Go Protobuf: The new Opaque API

In it we closed public fields of the structure (instead, by making the Get/Set/Has/Clear{StructName} methods) and removed optional (pointer)

Screenshot 2024-12-19 at 02 36 58

Because of this, mapping to Protobuf via these GraphQL directives will not work when using API_OPAQUE.

What did you expect?

It may be worth modifying the directives to support fields as interfaces Get/Set/Has/Clear{StructName} methods

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