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

Normalize Empty and Invalid Data in Inventory #446

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

nbertoldo
Copy link
Member

Related issue
#411

Description

This PR fixes the inconsistencies in handling empty data and invalid types, ensuring cleaner and more reliable outputs:

  • Fields that the system could not collect should be represented as null in the output JSON.
  • Avoid interpreting a space (" ") or any other placeholder as empty data. The DataProvider must not fabricate values and should return null for missing fields.

Tests

  • Compilation without warnings in every supported platform
    • Linux
    • Windows
    • MAC OS X

@nbertoldo nbertoldo linked an issue Dec 19, 2024 that may be closed by this pull request
@nbertoldo nbertoldo force-pushed the enhancement/411-normalize-empty-and-invalid-data-in-inventory branch from 5945a81 to 12f0410 Compare December 30, 2024 14:25
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.

Normalize Empty and Invalid Data in Inventory
1 participant