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

void/db: support Drizzle's casing option

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
75/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
postgresql, typescript
領域
databases

調査の方向性

Start with packages/void/src/plugin-drizzle.ts around the PostgreSQL client setup and packages/void/src/drizzle/config.ts where the drizzle-kit config is written. Trace how Drizzle options reach runtime queries and void db generate, then check existing tests for those paths. Done when both paths honor casing: 'snake_case' and use snake_case column names.

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

説明

What

void/db and void db generate ignore Drizzle's casing option, so a schema written for casing: 'snake_case' gets camelCase column names.

Drizzle's casing lets a schema declare createdAt: timestamp() and store it as created_at (Drizzle: camel and snake casing).
Void builds the PostgreSQL client with schema only (plugin-drizzle.ts), and the drizzle-kit config it writes has no casing (drizzle/config.ts).

Every table in our schema relies on snake_case casing against an existing database. To move to Void, we'd have to name every column by hand, or the column names would change.

Done when

A schema written for casing: 'snake_case' gets snake_case columns from both void db generate and runtime void/db queries.

主要言語
TypeScript
スター
402
フォーク
32
平均マージ
12時間 28分
マージ済み PR(30日)
77

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

voidzero-dev/void のほかの issue

voidzero-dev/void の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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