Support embed type annotation
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 43/100
調査の方向性
Start by reading the SQL annotation examples in the issue and locating the parser and type-generation entry points for return type annotations; the payload does not name specific files or tests. Trace how a declared embed type such as Author maps to selected columns, then determine how the proposed Author + Country form should behave. Done means embedded return types are supported and covered by tests for the shown examples.
索引モデルが issue の本文から書いたものです。
説明
Migrated from halcyonnouveau/clorinde#139, originally reported by @Folyd on 2025-06-20.
For example:
--: Author(age?)
--! authors : Author
SELECT name, age FROM Authors;
--! authors_from_country (country?) : (age?)
SELECT a.*, COUNT(*) OVER() as total_count
FROM Authors as a
WHERE a.nationality = :country;
--! authors_from_country (country?) : Author
SELECT a.*, COUNT(*) OVER() as total_count
FROM Authors as a
WHERE a.nationality = :country;
The authors_from_country return all author columns plus an extra total_account, currently we need to declare (age?) as the type annotation. I hope to support embed another type into here, such as Author
Even further:
--: Author(age?)
--: Country(gdp?)
--! authors_from_country (country?) : Author + Country
SELECT a.*,
c.*,
COUNT(*) OVER() as total_count
FROM Authors as a
FROM Country as c JOIN a.nationality = c.id
WHERE a.nationality = :country;
- 主要言語
- Rust
- スター
- 1.2k
- フォーク
- 77
- 平均マージ
- 5日 12時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cornucopia-rs/cornucopia のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
cornucopia-rs/cornucopia#334 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
cornucopia-rs/cornucopia#333 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
cornucopia-rs/cornucopia#330 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
cornucopia-rs/cornucopia#309 · コメント 2 件 ·
-
configuration feature
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
cornucopia-rs/cornucopia#292 ·
cornucopia-rs/cornucopia の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
madesroches/fontaine#513 ·
メンテナーはふだん 1 日以内に返信
-
area:ui needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bherbruck/solvecraft#13497 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
needs-triage tooling
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
neilsh/stunt-reel#317 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
storytold/craft-fonts#65 ·
メンテナーはふだん 2 日以内に返信