Commit 2bed49c
JSONClient can now preserve OpenStruct type
Until now, OpenStruct in data (or metadata) would be serialized to String.
E.g. `#<OpenStruct a=1>` and returned in such form after reading the
event since no deserialization would occur.
Co-authored-by: Łukasz Reszke <[email protected]>1 parent 37ea9aa commit 2bed49c
File tree
2 files changed
+9
-1
lines changed- rails_event_store
- lib/rails_event_store
- spec
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
67 | 74 | | |
68 | 75 | | |
69 | 76 | | |
| |||
0 commit comments