-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip attributes if the value is nan (#465)
We had an incident where the user sent a nan value for a key and it was stored in the numbers map. when we serialzied the data the json.marshal threw error as it cann't marshan nan values. In this change I have skipped the attributes which contains nan values. the other way was to just remove it during the marshal process, but I went with this just to keep the things same even during marshal. --------- Co-authored-by: Srikanth Chekuri <[email protected]> Co-authored-by: Vibhu Pandey <[email protected]>
- Loading branch information
1 parent
bbbd3ba
commit cd56602
Showing
5 changed files
with
66 additions
and
55 deletions.
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
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