hyperweb-io / hyperweb-io/ts-codegen

Message Composer Extract union type

Offen
#117 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
126
Forks
31
Ø Merge
19 Min.
Gemergte PRs (30 T.)
2

Beschreibung

The message composer still generates incorrect typings for union arrays.

It should use something like:
```
CamelCasedProperties<
Extract<
ExecuteMsg,
{
propose_modules: unknown
}
>['propose_modules']
>
```

for the camelCased signatures.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Locate the message composer and inspect how it generates camelCased signatures for union arrays. Reproduce the incorrect typings described in the issue, then verify that the generated type uses Extract on ExecuteMsg for the propose_modules property and that the resulting signatures are correct.

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
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.