hyperweb-io / hyperweb-io/ts-codegen
Error: [unknown type]: null
- Vorherrschende Sprache
- TypeScript
- Sterne
- 126
- Forks
- 31
- Ø Merge
- 19 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
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)
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100