danger-code_style_validation icon indicating copy to clipboard operation
danger-code_style_validation copied to clipboard

Use polymorphism to abstract over different MR/PR/whatever sources

Open nikolaykasyanov opened this issue 7 years ago • 0 comments

At the moment we're explicitly checking source type twice: to get the diff and to get proper diff delimiter format.

This can be hidden nicely behind some interface with 3 (for example) implementations: for GitLab, GitHub and BitBucket.

nikolaykasyanov avatar Mar 20 '17 09:03 nikolaykasyanov