Skip to content
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

GroupUpdate requires to know open state in order to modify any of the other fields #1279

Open
jell-o-fishi opened this issue Oct 25, 2024 · 1 comment

Comments

@jell-o-fishi
Copy link

jell-o-fishi commented Oct 25, 2024

Nakama 3.24.1

The GroupUpdate signature is:

func (n *RuntimeGoNakamaModule) GroupUpdate(ctx context.Context, id, userID, name, creatorID, langTag, description, avatarUrl string, open bool, metadata map[string]interface{}, maxCount int) error {
cannot set an empty description or avatarUrl, and must know the current open state in order to use the method and not change it. this requires loading the group before updating it.

all fields should accept nil.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant