-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
TSC ReviewTo be reviewed by the Technical Steering CommitteeTo be reviewed by the Technical Steering Committee
Description
Lines 828 to 835 in 472c736
| export interface DataPart extends PartBase { | |
| /** The type of this part, used as a discriminator. Always 'data'. */ | |
| readonly kind: "data"; | |
| /** The structured data content. */ | |
| data: { | |
| [key: string]: any; | |
| }; | |
| } |
Why must DataPart.data be an object? It would be particularly beneficial to accept data in list format like:
{
"kind": "data"
"data": ["Apple", "Orange", "Banana"]
}Thoughts?
Let me know if this should be opened as a PR or discussion instead. Thanks!
Metadata
Metadata
Assignees
Labels
TSC ReviewTo be reviewed by the Technical Steering CommitteeTo be reviewed by the Technical Steering Committee
Type
Projects
Status
Backlog