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

Include field path in non serializable error #1905

Merged
merged 1 commit into from
May 4, 2024

Commits on May 3, 2024

  1. Include field path in non serializable error

    When failing to serialize a value, the error sometimes doesn't point to
    a usable location (that is, it points to the definition site of some
    function somewhere, but it's impossible to know where this function was
    actually used, which is usually where the issue is).
    
    This commit enriches the error message of non-serializable errors with a
    path, à la JSON pointer (such that it also integrates array indices),
    whenever possible. This should make debugging non serializable error
    much nicer.
    yannham committed May 3, 2024
    Configuration menu
    Copy the full SHA
    60d04f6 View commit details
    Browse the repository at this point in the history