Urigo
Urigo
Jul 25, 2017 · 1 min read

I would argue that there is a problem with that best practice. If a few different components are using the same service, if you’ll change a function, you introduced a single point of failure.. how could you know all the affected components? I would check out this (my, sorry…) https://youtu.be/rb5i8Bs7-k0?t=17m6s talk about that problem (and you could run GraphQL on the client only and still call the same REST endpoints without changing anything on the server)

    Urigo

    Written by

    Urigo

    Founder of The Guild; Ex Core Dev at @apollographql & @meteorjs; https://github.com/urigo ; https://www.angular-meteor.com/; uri.goldshtein@gmail.com