Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Sessions: create / edit / cancel] Map mutable session edit fields

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
50/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart, flutter, sql
領域
backend

調査の方向性

Start with the schema in supabase/schemas/dogpack/tables/sessions.sql to see which columns exist, then create lib/sessions/session_repository.dart with Map<String,dynamic> editSessionMap(SessionDraft draft). The map should contain only title, description, location, startsAt, endsAt and capacity, with timestamps as UTC strings, and must omit hostId, course, term, status and id even when the draft carries them. Done when test/sessions/session_repository_dp_s07_test.dart passes under flutter test and flutter analyze is clean.

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

説明

sessions

What to build

Choose the fields a host may change when editing a meeting. Prepare only title, description, location, time and capacity; its owner, course and semester must stay unchanged.

Files

Steps

  1. Return only title,description,location,startsAt,endsAt,capacity from validated draft, timestamps UTC strings.
  2. Do not include id as updated column, hostId,course,term,status or server metadata.
  3. Keep target id/owner conditions as separate query inputs, not request data fields.

Example

Map excludes hostId/course/term even if input carries them.

Check it works

In test/sessions/session_repository_dp_s07_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/sessions/session_repository_dp_s07_test.dart and flutter analyze.

Before starting

  • #82 — Validate session time and capacity

References

Assign yourself before starting, or comment to claim the issue. Project setup.

主要言語
PLpgSQL
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

DevDogsUGA/DogPack のほかの issue

DevDogsUGA/DogPack の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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