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: avoid Errors call for nested Encode/Decode #781

Closed

Commits on Mar 9, 2024

  1. fix: avoid Errors call for nested Encode/Decode

    Use a stack for Encode/Decode to detect when it‘s a nested call. If nested, the `Errors` function is **not** called, since the produced error would only be a fraction of the full JSON path. This change is beneficial for certain `Transform` usage, as described in sinclairzx81#780.
    
    Closes sinclairzx81#780
    aleclarson committed Mar 9, 2024
    Copy the full SHA
    e28b8f0 View commit details
    Browse the repository at this point in the history