Skip to content

Upgrade of GRPC API broke make examples #4326

@daemonfire300

Description

@daemonfire300

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.

Version

2.44.0 (actually 9a9a90080b61d65b83deb85c10c5a261ea8ed1d5)

Storage Type

local devenv

Installation Type

local devenv

Expected Behavior

(Opinion: I do not like this template for development issues)

The examples should work.

Please do not try to fix this issue, I already have a branch where it's fixed. I am going to push it in the following days.

(Sidenote: While updating I noticed that there are inconsistencies in the versioning (see https://go.dev/doc/modules/version-numbers). Since Dex is at v2.x.y, the package should be exposed and located at dexidp/dex/v2. I can also jump in and address this change in another PR, but not sure when I will have time to do so.)

Actual Behavior

  1. Checkout master at 9a9a90080b61d65b83deb85c10c5a261ea8ed1d5
  2. Run make examples
github.com/dexidp/dex/api/v2
github.com/dexidp/dex/examples/grpc-client
# github.com/dexidp/dex/examples/grpc-client
grpc-client/client.go:153:23: cli.ListClients undefined (type api.DexClient has no field or method ListClients)
grpc-client/client.go:153:56: undefined: api.ListClientReq

Steps To Reproduce

No response

Additional Information

I introduced this via: #4202

Configuration

Sample configuration from examples

Logs

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