-
Notifications
You must be signed in to change notification settings - Fork 98
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 error message for relative interpolations #1126
Comments
MatteoVoges
changed the title
Improve error message for relative inteprolations
Improve error message for relative interpolations
Sep 22, 2023
I think the ideal message would display:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Current error message
We see that the dots / the relative path doesn't show up in the error message. This makes it really hard to debug not found keys.
Describe the solution you'd like
There are several ways to solve this problem and to improve the error message:
Interpolation key 'a.b' not found
Interpolation key '..b' not found
Interpolation key 'a.b' not found at node a.a.a
I would prefer a mix of these options, but I like option 3 the most, because there its clear which key is missing and where to look to fix the interpolation.
The text was updated successfully, but these errors were encountered: