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

Fix and test canonical serialisation of JSONPathNode #34

Merged
merged 7 commits into from
Jan 23, 2025

Conversation

jg-rp
Copy link
Owner

@jg-rp jg-rp commented Jan 22, 2025

I find myself needing to test normalized/canonical path serialisation in several projects (here, here, here and here). This PR adds the normalized test suite, which will become a git sub module as soon as I've created a suitable repo or convinced someone at the CTS to include it there.

We also:

  • rename to_string_canonical.ts to to_string_canonical.test.ts so Jest sees it
  • tweak decodeNameLocation so it follows the canonical branch.

@jg-rp jg-rp marked this pull request as ready for review January 23, 2025 14:47
@jg-rp jg-rp merged commit 7f44cbe into main Jan 23, 2025
16 checks passed
@jg-rp jg-rp deleted the fix-decode-location branch January 23, 2025 19:28
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