Closed adamsigal closed 3 years ago
@adamsigal FYI, this was never reviewed because the tests failed. The convention is that a PR will be ignored if the tests failed unless you leave a comment explaining why the failure is not your fault or you need help understanding it.
@adamsigal FYI, this was never reviewed because the tests failed. The convention is that a PR will be ignored if the tests failed unless you leave a comment explaining why the failure is not your fault or you need help understanding it.
I actually realised that the tests didn't pass, that's why I didn't mention it on IRC ¯_(ツ)_/¯
Heya, I've had to close this because I replaced it with a finished version.
I also added the meta
dupes checking, so my version is a bit more complicated, but in case you're curious in the learning experience...
Here:
You can see how we look at the type of the thing, and switch into it before looking at it. We can't use foo.String()
because:
1) That's a bigger representation that wouldn't guarantee us unique fields, and 2) We don't want to examine Edges for example.
If you have questions or want to jump back in, please LMK =D
Add extra verification in Init() to prevent a resource with multiple instances of the same field from being validated.
Tips:
please read the style guide before submitting your patch: docs/style-guide.md
commit message titles must be in the form:
topic: Capitalized message with no trailing period
or:
topic, topic2: Capitalized message with no trailing period
or format a single golang file correctly:
Thanks for contributing to mgmt and welcome to the team!