Organize interface

オープン
#920 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cpp
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C++
スター
7
フォーク
37
平均マージ
2日 11時間
マージ済み PR(30日)
106

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-score/lifecycle のほかの issue

eclipse-score/lifecycle の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。