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

#2697: forbid multiple @default breaks my workflow

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

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

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

評価

難易度
4/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
typescript
領域
database

調査の方向性

The complaint targets the ZModel schema validation that rejects a client-side @default appearing alongside a database default; start by finding the rule that raises this error and the attribute list it inspects, then read the referenced discussion #2697 for the maintainers' reasoning. The request is for an escape hatch such as @passthrough or a db-level default, so 'done' means a schema that mixes both parses and the generated client and database push preserve the database default. The payload names no files, tests or entry points, and the thread has one comment with no decision.

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

説明

I don't think there is a reason to forbid a client-side default and a database default. I get that you can't necessarily determine based on implementation but i need and @passthrough or an @db.default() or something.

Not all of the database creates go through my zenstack client. can i please have a workaround.

This blocks me from updating.

主要言語
TypeScript
スター
2.9k
フォーク
157
平均マージ
11時間 42分
マージ済み PR(30日)
20

環境構築

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

はじめの一歩

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

zenstackhq/zenstack のほかの issue

zenstackhq/zenstack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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