hyperweb-io / hyperweb-io/ts-codegen

Error: [unknown type]: null

オープン
#153 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
126
フォーク
31
平均マージ
19分
マージ済み PR(30日)
2

説明

I'm getting this error "Error: contact maintainers [unknown type]: null" for the nulls in the attached ExecuteMsg schema when using generate.
[execute_msg.json](https://github.com/user-attachments/files/16808613/execute_msg.json)

There is a query response type with nulls that worked perfectly fine.
[a_p_r_response.json](https://github.com/user-attachments/files/16808626/a_p_r_response.json)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the generate command with the attached ExecuteMsg schema and compare it with a_p_r_response.json, which handles nulls successfully. Trace the schema-generation entry point to find where the error "[unknown type]: null" is produced. Done means ExecuteMsg schemas containing nulls generate successfully without the error.

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

評価

技術スタック
typescript
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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