-
Notifications
You must be signed in to change notification settings - Fork 28
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
A0-4153: Factor unit validation out of runway #429
A0-4153: Factor unit validation out of runway #429
Conversation
Please make sure the following happened
|
This required quite a lot of other changes as well, so this is quite large. It also looks... not ideal and in places _more_ convoluted than beforehand, but completely untangling all this in a single commit would require it to be even larger.
91db5b0
to
f33250e
Compare
This PR is very large. It would be very helpful if you included a thorough description of what happens and some guides for the reviewers in the PR description e.g.
Some of the above may be irrelevant, but just to give a picture of what I would be happy to see. |
Ah, fair enough. As the title implies the main goal of this refactor was to get unit validation logic out of Perhaps the most important additional change is the complete rewrite of To make the new abstraction for the unit store work units had to be abstracted away, rather than transformed. This is perhaps the biggest difference in what is actually happening during unit processing. Before, units were saved after validation in This change in abstraction necessitated some further changes again, but most of them pretty trivial – most changes related to this in A couple smaller changes, that perhaps could have been avoided:
Phew, that's quite a lot, if you still have questions I'm available for a call, just send me a DM. |
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 quite good :)
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 aight, a solid refactor. Didn't find anything sus.
This required quite a lot of other changes as well, so this is quite large. It also looks... not ideal and in places more convoluted than beforehand, but completely untangling all this in a single commit would require it to be even larger.