-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add type and protocol fields to debug string
Summary: Internal : - Motivation : - [User ask](https://fb.workplace.com/groups/1276923829803334/permalink/1406651230163926/) - ICSP has been using JSON in their Any objects just to be able to log/debug the contents of `AnyStruct`s reasonably. Rather than this being a forcing function to support multiple protocols in Any or for users to implement temporary workarounds like this CLI-based deserialization in D44525331, we want to fix the root cause here of poor debuggability when using Thrift Any. - Details : https://docs.google.com/document/d/18senTbsbyQBYHvLnl4c0WZgsmsdFzMsiZbNIeh8Pn3A/edit#heading=h.tevuif6iiq0 Pretty print `type` and `protocol` fields Reviewed By: thedavekwon Differential Revision: D52314629 fbshipit-source-id: 685ae789f04c8cc31ea9a87d9913373eaaff7b8e
- Loading branch information
1 parent
45de99a
commit 1f7224d
Showing
3 changed files
with
159 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters