hyperweb-io / hyperweb-io/ts-codegen

Error: [unknown type]: null

Abierto
#153 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
126
Forks
31
Merge medio
19 min
PR fusionados (30 d)
2

Descripción

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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.