Skip to content

DataChange of Item in MapSchema include changes not correct #618

Answered by endel
vinkent420 asked this question in Q&A
Discussion options

You must be logged in to vote

HI @vinkent420, I've just documented this missing piece in the migration guide here: https://docs.colyseus.io/migrating/0.15/#on-schema-instances

The changes list is now officially deprecated and won't exist anymore
🙌 colyseus/schema@7a99c3d

You can use .listen() to act on specific properties, which is how most people used to do looping through each of the changes anyway!

Please let me know if you have any thoughts or concerns about this change. Cheers!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vinkent420
Comment options

Answer selected by vinkent420
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants