Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

fix: provide fallback value for message property#32

Merged
fabio-nettis merged 1 commit intomainfrom
fix/news-type
Mar 31, 2024
Merged

fix: provide fallback value for message property#32
fabio-nettis merged 1 commit intomainfrom
fix/news-type

Conversation

@fabio-nettis
Copy link
Member

Description

This PR ensures the message property of the news data type is always a string. Observations show that the API may crash when the value is undefined.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Signed-off-by: Fabio Nettis <nettisfabio@gmail.com>
@fabio-nettis fabio-nettis added the bug Something isn't working label Mar 31, 2024
@fabio-nettis fabio-nettis merged commit 4287cc2 into main Mar 31, 2024
@fabio-nettis fabio-nettis deleted the fix/news-type branch March 31, 2024 12:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant