hyperweb-io / hyperweb-io/ts-codegen

Error: [unknown type]: null

Ouverte
#153 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
126
Forks
31
Merge moyen
19 min
PR mergées (30 j)
2

Description

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript
Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.