-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Go] method naming #4519
Comments
Hi @NerdJeremia Also can you provide the OAS description for that path segment and its parameter please ?(I'm suspecting it's type string, format guid, but I'd like to confirm that) |
Hi @baywet
|
Thanks for the additional information. |
We are not currently using any other client languages than go so I unfortunately can't say. Yes this issue was apparently introduced in v1.13. However, versions > v1.9 renamed from |
@NerdJeremia Just to confirm here, Any chance you can confirm if the description provided is the expected input? |
Hi @andrueastman, |
Thanks for the extra information here on the extra path @NerdJeremia Looks like this was caused by the path deduplication changes in #4174 that introduced the appending of Authored #4547 to resolve |
Great. Thank you! |
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.
The text was updated successfully, but these errors were encountered: