-
Notifications
You must be signed in to change notification settings - Fork 19
Reporting attempt 3 #30
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
This seems like a better abstraction, especially that some of them actually not render anything but approve/validate the results. This seems like a better abstraction not imposing any particular way the result should be handled
and into ConventionContext
They should be in control of how they want the data formatted. We still need to work on how to actually put the two together...
ConventionResult now holds formatted result and recommended file extension. This will save us from having to have a copy of text renderer in almost any other renderer. Also this gives us flexibility to either use existing result, or overwrite it (or ignore and render your own, but not save it back for validation, like HTML renderer does
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.
We have lost the reporting of the second convention failing?
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.
nope. It's split into a second file now.
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.
Nice
Im happy to merge, the other stuff can be fixed in another PR |
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.
This is the second file :)
I'm (almost) happy with this one. There's still some work to be done around formatters, but I'm quite happy with how the rest of that turned out.
IMO it's much neater and more flexible than the first few attempts we've had.