Show query bindings on error page #249
sclause2412
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello folks!
I am using Laravel with the Ignition package to show me the errors I make during development.
It is basically a very helpful tool but when it comes to Queries it lacks the feature of showing up the query bindings.
According to some other sources (e.g. Laracasts) I can use clockwork to overcome this problem - but to be honest, I don't like to install an additional package and a browser plugin just for showing some values.
Additionally, I found out that the error page is already propagated with the query bindings. If you look at the browser console on the ignition error page you can see that the window.data object already holds the bindings (e.g.
window.data.report.context.queries[0].bindings
) but there is no button to show it on the page (or at least I did not find it so far).Maybe you could add a button "Show bindings" next to the "Copy to clipboard" button or just add it automatically if you expand the query view.
That would be a very handy feature. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions