Refactor Surrealist::Builder (closed)

Posted by Nikita Esaulov 9 months ago
Original issueEstimated time: few days • ruby
EASY

Service class that is used inside Surrealist needs a little refactoring: one of the smells is that one method takes 6 arguments. A proper way to refactor this would be to introduce some kind of a data structure that will carry those arguments inside (you can find this pattern implemented at lib/surrealist/carrier). Don’t hesitate to ping me at gitter.im/nesaulov

Comments

You need tologinfirst before you can read comments