`Album.release_date` is an optional proto field and most providers never set it, so the notification body read "album ()" for nearly every track: the parentheses were part of the format string rather than of the date. Move the body into `notification_body`, where the parentheses belong to the date and an absent one (unset or empty, since prost's accessor returns "" for both) simply drops them, and cover the three shapes with tests. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.lock | ||
| Cargo.toml | ||
| build.rs | ||
| schema.graphql | ||