Open martinsson opened 5 years ago
Il y a eu qq difficultés de mise en place lors du dojo et j'ai pas pu faire le support. C'est cool car cela m'a fait réfléchir sur le SRP dans ce kata - est-ce que c'est pertinent de faire un rest-api et une dépendance externe dans le même kata?
Cela n'a pas posé de problème quand il y avait qu'un langage et un petit groupe. Et je pense que ce sera encore pire quand qq le tente dans son coin ou dans son coding dojo. Qu'en penses-tu @Fabinout ?
Donc tu voudrais la même chose, mais sans le côté "rest api", juste un controller et son test unitaire ?
Je pensais juste une fonction, qui renvoie une liste de Match.
Je peux le faire d'abord TS pour t'éviter les allers-retours.
This makes it harder which is more than needed.
Actually we'll probably remove the requirement of a rest-api altogether, just keeping the external dependency and developing a function that does the work. In experience the rest api in itself causes a lot of problems for the developers and it is not the point of the kata