Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly truncate long strings from nested metadata structures #1778

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Nov 7, 2022

Goal

Trim strings nested in complex metadata (nested lists, maps or other collections) when they are over the configured "maximum length".

Testing

Introduced a new unit test for StringUtils to ensure all the string trimming code is properly covered

@lemnik lemnik requested a review from kstenerud November 7, 2022 11:12
@lemnik lemnik force-pushed the PLAT-9142/truncate-nested-metadata branch from f76d323 to 8eeb6d4 Compare November 7, 2022 11:13
@lemnik lemnik force-pushed the PLAT-9142/truncate-nested-metadata branch from 8eeb6d4 to 29672f7 Compare November 7, 2022 11:17
@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1917.78 1693.31
arm64_v8a 680.33 455.05
armeabi_v7a 614.8 393.62
x86 754.04 532.86
x86_64 725.38 500.1

Generated by 🚫 Danger

@lemnik lemnik merged commit ea7b4dc into next Nov 7, 2022
@lemnik lemnik deleted the PLAT-9142/truncate-nested-metadata branch November 7, 2022 15:42
@lemnik lemnik mentioned this pull request Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants