Hi everyone,
I’m trying to retrieve a list of groups in Nakama using the Go server, but I’m encountering issues even with the code provided in the documentation.
this is the code in server framework docs
groupName := "Heroic"
langTag := "en"
members := 10
open := true
limit := 100
cursor := ""
list, cursor, err := nk.GroupsList(ctx, groupName, langTag, &members, &open, limit, cursor)
if err != nil {
logger.WithField("err", err).Error("Group list error.")
} else {
for _, g:= range list {
logger.Info("ID %s - open? %b cursor: %s", g.Id, g.Open, cursor)
}
}
and when I use it I get
name filter cannot be combined with any other filter
how I can search for groups in server?
and is there any way to search groups by its metadata
nakama-common v1.31.0
nakama-pluginbuilder:3.21.0
nakama:3.21.0
thanks