You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update rust schema gen to work better with optionals and enums
Summary:
- For enums, Glean expects the integer representation, which we can accomplish by adding a #repr tag on top of the enum and asking serde to use that when serializing.
- For optionals, Glean expects it not to exist in the JSON rather than just being `null` hence update this to add a directive for serde.
Reviewed By: nhawkes
Differential Revision: D78974870
fbshipit-source-id: 64dfe5f53c4db4b2f66def5319040fc4f4704530
0 commit comments