-
Notifications
You must be signed in to change notification settings - Fork 0
Improve debuggability when a plan fails #13
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
Conversation
|
One tricky observation here is that when we track what variables have affected another variable, we also need to track Before doing a bunch of work on this it might make sense to spend a little bit of time figuring out how often narrowing down the plan actually matters. One example where it probably makes sense is if you're constraining a type with a bunch of fields |
b921f14 to
365ac6a
Compare
main library during development
|
On On this branch: So already a big improvement. A possible TODO here is to make |
|
A major improvement here. The following constraints (meant to mimick constraining large records) has an inconsistency between the first and the last variables (a and f): Before we would have gotten a huge error message with a bunch of output. Now we only get the relevant bits: |
6a2849a to
5672aa6
Compare
Soupstraw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
TODO:
ErrorSpec, fail