Endel Dreyer
Endel Dreyer
Hi @hungnvbb, the return value from `static onAuth()` should be available in 2 places: ```typescript onJoin(client, options, auth) { console.log(client.auth) // here console.log(auth) // here } ``` Let me know...
Hi @stuthelotusguy 👋 I see now that `OAuthProviderConfig` is a bit too strict on the property names, so if you're using TypeScript it will complain "domain" is not allowed, but...
Assigned milestone 1.0 so this issue won't be closed again 🙈
Hi @dan-merlea, This error means you have an `undefined` structure within your schema objects. The error is thrown during encoding rather than during assignment. I'd recommend checking in your latest...
Another similar error that has been reported before is: `"Cannot read properties of undefined (reading '$changes')"`. I'm very curious to find the reason these happen so the library can display...
An optional property should be fine to be set as `undefined`! If you can share your structures and the types of operations you use could help to find out the...
Thanks for investigating so far @dan-merlea. The `.allChanges` are a full list of changed fields - they are only encoded when a client first joins the room (in the `.encodeAll()`...
Hi there, I'm trying to reproduce this issue on a test scenario, and so far the only way I've managed to do it was by providing a `Number` type for...
Thanks for the swift feedback @dan-merlea, I've just released `@colyseus/[email protected]` [forcing MapSchema keys as string](https://github.com/colyseus/schema/commit/e29b4d2c316fd4a16b526ff73a07cf0c07898e6f#diff-82c4c4d0e1ea5723b7350a0f85b404a18671367a9952a3d705a7785bfb81b16e), can you try if that solves the problem for you? 🙏
Hi @00alia00, do you think you could isolate/reproduce the issue in a separate environment like this? https://stackblitz.com/edit/colyseus-schema-issue-report cheers 🙏