Pular para o conteúdo
angular challenges logo Angular Challenges

🟠 High Order Operator Bug

Desafio #11

Este conteúdo não está disponível em sua língua ainda.

Criado por Thomas Laforge

Let’s dive inside the wonderful word of RxJS.

This challenge is inspired by a real-life example.

Information

User Story

We need a button for each Topic. When we click on it, we delete all objects with this Topic in our database (Fake DB in our case). Finally, we display All [topic] have been deleted if everything was deleted successfully or Error: deletion of some [topic] failed if some deletions failed

Constraints

We can only pass one object to our DB for deletion at the time. The DB will respond true if the data was successfully deleted and false otherwise.

Statement

The QA team reports a bug. The UI shows All [topic] have been deleted all the time, even if some deletions fail.

👉 Spot the bug and correct it.

Contribuidores

Obrigado a todos os contribuidores que ajudaram a melhorar esta documentação!

  • tomalaforge
  • LMFinney