matchList fails when using match label in latest version

In the latest version we have trouble getting listed matches based on the match label.

We’ve been using the following code in our TS runtime which works beautifully up to 3.7.5:

const matches = nk.matchList(10, true, ctx.matchLabel);

In the newer versions matches results always to 0. The ctx.matchLabel property correctly returns the correct label e.g. -1_2.

When removing the matchLabel from the method, listings are correct, check the log below.

Any idea what may have changed here?

  1. Versions: Nakama {3.9.0}, {Docker}
  2. Server Framework Runtime language (If relevant) {TS/JS}

@Leonidas Looks like a config issue with the 3.9.0 build, it’s been fixed and will be part of the next release. Meanwhile you can use a query rather than exact label filter, or use 3.8.0 until the next release. Thanks for pointing this out! :+1:

1 Like