Organize interface

Aperta
#920 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
backend

Direzione di ricerca

The issue names no files, tests or entry points, so start by asking the maintainers which dependency-injected interfaces are in scope and what the expected pattern is. Survey where raw pointers, smart pointers and references are passed as constructor or function parameters for mocking. Done means the maintainers have agreed on a convention and the listed interfaces follow it, with the existing tests still passing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What

We have a lot of interfaces and raw pointers / smart pointers / references to the implementation passed into parameters for dependency injection mocking.
Ideally we would remove all raw pointers for smart pointers, then if it's impossible for the object to be nullptr then we use references, however these are not default constructable only with a std::ref.

Acceptance Criteria (DoD)
  • All dependency injected interfaces aligned to the expectations.
How

No response

Lingua principale
C++
Stelle
7
Fork
37
Merge medio
2g 11h
PR unite (30g)
106

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-score/lifecycle

Tutte le issue di eclipse-score/lifecycle

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.