Skip to content

(protographic) A duplicate value of UNSPECIFIED is generated in connect #2510

Description

@flymedllva

Component(s)

router

Component version

0.105.2

wgc version

0.105.2

controlplane version

router version

router@0.280.1

What happened?

Description

A duplicate value UNSPECIFIED is generated in connect when declared in the graphql file.

Steps to Reproduce

enum State {
    UNSPECIFIED
    MEOW
}
=>
enum State {
 STATE_UNSPECIFIED = 0;
 STATE_UNSPECIFIED = 1;
 STATE_MEOW = 2;
}

Expected Result

Only 1 UNSPECIFIED value

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Package Manager: pnpm, npm, yarn, etc
Compiler(if manually compiled): (e.g., "go 14.2")

Router configuration

Router execution config

Log output

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions