Endel Dreyer
Endel Dreyer
Nice @zgz682000, which client integration are you using? AFAIK for C#/Unity there are no `onChange` callbacks and such. Cheers!
Hey @Steditor, Unfortunately, that is a limitation of the current filter implementation. > Currently I apply a workaround (manually touching the field in the schema's $changes) to trigger a re-run...
Hi @larsschwegmann, this is still a missing feature on `ArraySchema#splice()`. Pull requests are welcome to include this feature on `@colyseus/schema`. Cheers!
That's an interesting find @amir-arad, thanks for the test-case. As a workaround, you can assign `null` or `undefined` to the value you want to delete. It would be nice to...
Hi @zgz682000, I agree. Have you faced this issue yourself or you're pointing out a potential problem?
@amir-arad the challenge here is when should the encoder detect a change? something needs to trigger the property to go to a change list - which currently happens via a...
Thanks for reporting @pkamilp, I can confirm this is a problem. The client-side seems to decode this operation properly (`deckCards[0]` does contain the value `3`), but the server-side has the...
Hi @naive17, could you please provide a minimal reproduction scenario for this issue you're experiencing? It could be as a [test case](https://github.com/colyseus/schema/blob/1ee5cca5fa2733b216ed3fbd6ad5a59e8820565c/test/ArraySchemaTest.ts#L95-L108), or by sharing a repository where the error...
Interesting, thanks for inspecting and finding this out @amir-arad!
Thanks for reporting and providing the example @Zielak, thanks also @Steditor for providing a similar scenario here https://github.com/colyseus/colyseus.js/issues/78#issuecomment-724973641 (I believe the use cases are the same) This issue is going...