Skip to content

[Go] method naming #4519

@NerdJeremia

Description

@NerdJeremia

We migrated from version 1.6 to version 1.13 and noticed some weird changes in the names of the methods.
In v1.6 a method was named like this:
res, err := client.Groups().ByGroupIdGuid(idUUID).Get(ctx, nil)

In v1.13 it is now named like this:
res, err := client.Groups().ByGroupIdIdGuid(idUUID).Get(ctx, nil)

I also tried v1.10 which named them like this:
res, err := client.Groups().ByGroupsIdGuid(idUUID).Get(ctx, nil)

The different client versions were all generated from the same open api definition.

We personally prefer the naming scheme from version 1.6 since the others are just missleading.

Metadata

Metadata

Assignees

Labels

generatorIssues or improvements relater to generation capabilities.type:bugA broken experience

Type

No type

Projects

Status

Done ✔️

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions