jolicode / jolicode/slack-php-api

ConversationsRepliesGetResponse200 should provide typing for `messages` other than `mixed[]`

Offen
#136 6 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
255
Forks
62
Ø Merge
1 Std. 45 Min.
Gemergte PRs (30 T.)
1

Beschreibung

https://github.com/jolicode/slack-php-api/blob/836217b880fedb47b34a4bcb2eccaa2502b92e57/generated/Model/ConversationsRepliesGetResponse200.php#L47-L63

~It should not be `mixed[]` but `ObjsMessage[]`.~
It should be assigned the type other than `mixed[]`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with generated/Model/ConversationsRepliesGetResponse200.php at lines 47-63 and inspect how the messages property is typed. Determine the appropriate non-mixed[] type from the surrounding model definitions or API specification; the work is done when the property has specific typing and its generated model remains consistent.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
openapi, php
Bereich
api
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

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