16 Commits

Author SHA1 Message Date
Bouke Versteegh
8bcb67b66f
Merge pull request #81 from discord/serialized_on_wire_repeated
Always set serialized_on_wire for all parsed message fields
2020-07-08 23:10:14 +02:00
Arun Babu Neelicattu
0f3ad25770 Minor non-functional changes
- fix few typos
- remove unused imports
- fix minor code-quality issues
- replace `grpclib._protocols` with `grpclib._typing`
- fix boolean and None assertions in test cases
2020-07-07 19:23:38 +02:00
Danny Weinberg
28a288924f Change to have parse *always* set serialized_on_wire 2020-06-04 16:20:32 -07:00
Danny Weinberg
5c700618fd Black again lol 2020-06-04 13:42:43 -07:00
Danny Weinberg
a914306f33 Put test into test_features, simplify to call parse directly 2020-06-04 13:42:07 -07:00
Nat Noordanus
5e2d9febea Blacken 2020-05-23 23:37:22 +02:00
Nat Noordanus
b2b36c8575 Apply black formatting 2020-04-03 19:54:19 +02:00
Daniel G. Taylor
c78851b1b8
Merge pull request #12 from ulasozguler/master
Added `include_default_values` parameter to `to_dict` function
2020-01-30 17:19:34 -08:00
ulas
c0170f4d80 Added include_default_values parameter to to_dict function. 2020-01-22 19:16:57 +03:00
Josh Yudaken
d7559c22f8 Fix serialization of dataclass constructor parameters 2020-01-08 11:29:45 -05:00
Daniel G. Taylor
035793aec3
Support wrapper types 2019-10-27 14:55:25 -07:00
Daniel G. Taylor
d43d5af5ce
Better JSON casing support, renaming messages/fields 2019-10-23 15:06:34 -07:00
Daniel G. Taylor
5dae20970b
Add OneOf support, rework field detection 2019-10-22 20:44:00 -07:00
Daniel G. Taylor
a5fac1c2ae
Support pass-through of unknown fields 2019-10-19 22:33:31 -07:00
Daniel G. Taylor
b5c1f1aa7c
Support JSON base64 bytes and enums as strings 2019-10-19 12:31:22 -07:00
Daniel G. Taylor
811b54cabb
Better JSON 64-bit int handling, add way to determine whether a message was sent on the wire, various fixes 2019-10-17 23:36:52 -07:00