Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Fix CMDB Converter #53

Merged
merged 3 commits into from
Jun 27, 2024
Merged

Fix CMDB Converter #53

merged 3 commits into from
Jun 27, 2024

Conversation

VDubber
Copy link
Contributor

@VDubber VDubber commented Jun 26, 2024

Property values such as "" and "test" were found in the graph data. This PR changes so that only objects will be stringified.

…. Eliminates double quotes from being included as part of the value.
@VDubber VDubber requested a review from a team as a code owner June 26, 2024 20:02
@VDubber VDubber added release release minor minor labels Jun 26, 2024

let finalValue = value;
if (typeof value == 'object') {
// Only stringify if value is an object to avoid double quotes around primitive values.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that this condition is correct but maybe be overly simplistic.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arrays will be stringified

@VDubber VDubber merged commit 3041044 into main Jun 27, 2024
8 checks passed
@VDubber VDubber deleted the INT-11206 branch June 27, 2024 14:18
@j1-internal-automation
Copy link
Collaborator

🚀 PR was released in v1.5.0 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants