File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # Migrating to BMS 0.11.0
2+
3+ ### Removal of custom ` get ` and ` set ` overrides
4+ If you were previously registering custom ` get ` or ` set ` functions on specific types,
5+ these will no longer be searched for by the ` lua ` and ` rhai ` implementations.
6+
7+ If this is a wanted feature, let us know and we might bring it back!
8+
9+ If you are a language implementor, you will need to transition to calling the mini-registry for these.
10+
11+ ### Calling ` get ` and ` set ` directly in scripts
12+ Since these have been removed from bindings and moved into an easier to access sub-registry, which is not accessible to scripts directly
13+ if you used these directly in scripts, i.e. with ` my_type:get("field") ` , you will have to migrate to the native syntax:
14+ i.e.:
15+ ``` lua
16+ my_type .field
17+ my_type [" field" ]
18+ my_type [" 1" ]
19+ my_type ._1
20+ ```
21+ However ` map_get ` and other ` ReflectReference ` functions remain where they used to.
22+
23+
24+ Happy migrating!
You can’t perform that action at this time.
0 commit comments