(RE-15124) Implement DNS Plugins and Remove api v1 and v2#551
Conversation
e-gris
left a comment
There was a problem hiding this comment.
Only comments on Ruby style or idiomatic usage. Feel free to take or ignore.
Also, generally, avoid method variables like name, Even the method comments have suggestions for better choices.
I've shown a few examples but didn't flag them all.
6ed9cd1 to
7eec8f7
Compare
e-gris
left a comment
There was a problem hiding this comment.
Some more purely stylistic/maintainability comments; certainly ignorable for now. I called out just a couple of examples.
Nested 'ifs' and variable mutations are great places for bugs to hide and are often easily refactored into something more stable
genebean
left a comment
There was a problem hiding this comment.
So, I am only part of the way through, but it seems that this PR introduces breaking changes within the versioned API endpoint api/v2... that is not okay. Breaking changes need to be implemented as a new api version. I think what you are doing here api wise need to be done as part of api/v3. It is fine if you kill of the v1 and v2 endpoints as part of this work too.
df62e29 to
f0ecbe3
Compare
genebean
left a comment
There was a problem hiding this comment.
Please don't merge until after squashing (I know you are working on it). Adding a label to ensure this.
|
Just working on squashing commits now |
7dd62b9 to
8d44e4f
Compare
8d44e4f to
669ecae
Compare
This implements plugable DNS plugins, similar to compute providers.
Relates to: