Skip to content

Confusion about yaml schema field name order #177

@mistahmikey

Description

@mistahmikey

Hello,

I am trying to understand how to use the yaml schemas to generate CSV files. I thought the yaml field names in "fields" were defined in the order their respective columns appear in the CSV data, but this does not appear to be the case. For example, for TextCommand, this is the yaml definition:

name: TextCommand
displayField: Command
fields:
  - name: Description
  - name: Alias
  - name: ShortAlias
  - name: Command
  - name: ShortCommand
  - name: Unknown0
  - name: Param
    type: link
    targets: [TextCommandParam]
  - name: Unknown1
  - name: Unknown2
  - name: Unknown3
  - name: Unknown4
  - name: Unknown5

But the actual order of the fields in the data is "Unknown1, Unknown2, Unknown3, Unknown4, Unknown5, Command, ShortCommand, Description, Alias, Param, Unknown0".

So if someone could explain to me how this works I would appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions