Skip to content

Commit

Permalink
Create tidy-stingrays-think.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs authored Jan 22, 2024
1 parent 7f392df commit 0a0c6c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changeset/tidy-stingrays-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@latticexyz/world": major
---

Namespaces are not allowed to contain double underscores ("__") anymore, as this sequence of characters is used to [separate the namespace and function selector](https://github.com/latticexyz/mud/pull/2168) in namespaced systems.
This is to prevent signature clashes of functions in different namespaces.

(Example: If namespaces were allowed to contain this separator string, a function "function" in namespace "namespace__my" would result in the namespaced function selector "namespace__my__function",
and would clash with a function "my__function" in namespace "namespace".)

0 comments on commit 0a0c6c5

Please sign in to comment.