Skip to content

Improve display of JSON values within constraints #6812

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

Merged
merged 6 commits into from
Jun 3, 2025
Merged

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Jun 2, 2025

What's the problem this PR addresses?

JSON constraints are currently displayed using an arbitrary Node.js rendering. This PR moves that into our hands, and ensures that the output is at least similar to JSON.

How did you fix it?

Replaces util.inspect by a custom rendering function.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 139617c into master Jun 3, 2025
26 checks passed
@arcanis arcanis deleted the mael/util-format branch June 3, 2025 19:02
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.

1 participant