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

Improve jsonDiff() utility function #21125

Open
1 of 2 tasks
queengooborg opened this issue Oct 30, 2023 · 0 comments
Open
1 of 2 tasks

Improve jsonDiff() utility function #21125

queengooborg opened this issue Oct 30, 2023 · 0 comments
Labels
enhancement Nice to have features. linter Issues or pull requests regarding the tests / linter of the JSON files.

Comments

@queengooborg
Copy link
Contributor

What type of issue is this?

Linter issue

What is the issue?

The jsonDiff() function only produces helpful lines if a single line differs from expectations, but in the case of property sorting, the output isn’t helpful. Although in most cases, the fix script can be run to fix whatever issue is present, it would still be nice to output helpful information.

What behavior were you expecting?

I’d like to see an extensive diff displayed instead.

What version(s) of BCD is the issue present in?

  • The current BCD release
  • The current version of the main branch

Do you have anything more you want to share?

No response

@queengooborg queengooborg added enhancement Nice to have features. linter Issues or pull requests regarding the tests / linter of the JSON files. labels Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Nice to have features. linter Issues or pull requests regarding the tests / linter of the JSON files.
Projects
None yet
Development

No branches or pull requests

2 participants
@queengooborg and others