Skip to content

Commit

Permalink
Change value field serialization from PascalCase to camelCase (#191)
Browse files Browse the repository at this point in the history
* PascalCase -> camelCase for all fields

* Update database to 0.484.0.425477

* Update PhysicalProperties test to use camelCase

* Update snapshots
  • Loading branch information
kennethloeffler authored Jun 30, 2021
1 parent 375c59f commit c81b96f
Show file tree
Hide file tree
Showing 40 changed files with 1,844 additions and 1,037 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ expression: decoded_viewed
BinaryString: ""
Value:
CFrame:
Position:
position:
- 0.0
- 0.0
- 0.0
Orientation:
orientation:
- - 1.0
- 0.0
- 0.0
Expand All @@ -42,11 +42,11 @@ expression: decoded_viewed
BinaryString: ""
Value:
CFrame:
Position:
position:
- 0.15625
- -0.15625
- 0.10000000149011612
Orientation:
orientation:
- - -0.10000000149011612
- 0.0
- 0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: rbx_binary/src/tests/util.rs
expression: text_roundtrip

---
num_types: 1
num_instances: 2
Expand Down Expand Up @@ -45,11 +46,11 @@ chunks:
prop_name: Value
prop_type: CFrame
values:
- Position:
- position:
- 0.0
- 0.0
- 0.0
Orientation:
orientation:
- - 1.0
- 0.0
- 0.0
Expand All @@ -59,11 +60,11 @@ chunks:
- - 0.0
- 1.0
- 0.0
- Position:
- position:
- 0.15625
- -0.15625
- 0.10000000149011612
Orientation:
orientation:
- - -0.10000000149011612
- 0.0
- 0.0
Expand All @@ -81,3 +82,4 @@ chunks:
- - 1
- -1
- End

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: rbx_binary/src/tests/util.rs
expression: text_decoded

---
num_types: 1
num_instances: 2
Expand Down Expand Up @@ -49,11 +50,11 @@ chunks:
prop_name: Value
prop_type: CFrame
values:
- Position:
- position:
- 0.0
- 0.0
- 0.0
Orientation:
orientation:
- - 1.0
- 0.0
- 0.0
Expand All @@ -63,11 +64,11 @@ chunks:
- - 0.0
- 1.0
- 0.0
- Position:
- position:
- 0.15625
- -0.15625
- 0.10000000149011612
Orientation:
orientation:
- - -0.10000000149011612
- 0.0
- 0.0
Expand All @@ -85,3 +86,4 @@ chunks:
- - 1
- -1
- End

Loading

0 comments on commit c81b96f

Please sign in to comment.