jsforce / jsforce/jsforce-metadata-tools

Fix "[object Object]__" in test successes output

Open
#19 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
39
Forks
24
PR merge metrics
No merged PRs in 30d

Description

When running tests, the namespace tag is correctly evaluated by xml2js into an object like:

      "namespace": {
        "$": {
          "xsi:nil": "true"
        }

which is then stringified instead of ignored.

Pull request #3 handles this issue and would fix our log output. Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review pull request #3 first, since the issue says it handles this bug. Then run the tests and inspect the test-success output to confirm that the XML namespace object is ignored rather than rendered as "[object Object]__"; done means the log output no longer contains that text.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.