heroiclabs / nakama-defold

Defold client for Nakama server.
https://heroiclabs.com
Apache License 2.0
74 stars 12 forks source link

client.update_group takes group id twice #51

Closed tomglenn closed 1 year ago

tomglenn commented 2 years ago
function M.update_group(client, **group_id_str**, avatarUrl, description, **groupId**, langTag, name, open, callback)
britzl commented 2 years ago

The API for the Nakama_UpdateGroup operation takes two parameters:

  1. groupId (string) - The ID of the group to update
  2. body (apiUpdateGroupRequest)

The apiUpdateGroupRequest object contains the following properties:

It looks like there is some data duplication in that request which is the reason why the groupId ends up twice in the generated code. I'm not entirely sure how to solve this.

tomglenn commented 1 year ago

Understood, will close this for now.