Skip to content

Commit

Permalink
small summary of shape change
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Mar 21, 2024
1 parent e7fc0ea commit 153f023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/brave-dodos-relate.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@latticexyz/world": major
---

World config has been rebuilt with strong types. The shape of the config has also changed slightly for clarity.
World config has been rebuilt with strong types. The shape of the config has also changed slightly for clarity, the biggest change of which is merging of `keySchema` and `valueSchema` into a single `schema` with a separate `key` for the table's primary key.

To migrate, first update the imported config method:

Expand Down
2 changes: 1 addition & 1 deletion .changeset/calm-snails-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@latticexyz/store": major
---

Store config has been rebuilt with strong types. The shape of the config has also changed slightly for clarity.
Store config has been rebuilt with strong types. The shape of the config has also changed slightly for clarity, the biggest change of which is merging of `keySchema` and `valueSchema` into a single `schema` with a separate `key` for the table's primary key.

_Note that the Store config is a subset of the World config and if you have a MUD project, you likely want to follow the World changelog for config migration steps._

Expand Down

0 comments on commit 153f023

Please sign in to comment.