hyperweb-io / hyperweb-io/ts-codegen

codegen errors for query case without parameters

Abierto
#64 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
126
Forks
31
Merge medio
19 min
PR fusionados (30 d)
2

Descripción

related https://github.com/CosmWasm/cosmwasm/issues/1416

example https://github.com/grod220/ts-codegen-example

schema https://gist.github.com/pyramation/97af26385c9348688c74e849898ce419

the generated code that causes an issue (the enum):

```json
"execute": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ExecuteMsg",
"oneOf": [
{
"type": "string",
"enum": [
"accept_ownership"
]
},
{
"description": "Due to some chains being permissioned via governance, we must instantiate this contract first and give ownership access to Rover contract with this action after both are independently deployed.",
"type": "object",
"required": [
"propose_new_owner"
],
"properties": {
"propose_new_owner": {
"type": "object",
"required": [
"new_owner"
],
"properties": {
"new_owner": {
"type": "string"
}
}
}
},
"additionalProperties": false
},
...
```

Guía de contribución

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

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.