Skip to content

Uber serializer passes-through complex values #6

@inadarei

Description

@inadarei

Given an internal representation that looks like this:

{
  "todo": {
    "data": [
      {
        "id": "1b361exznny",
        "title": "minimal test",
        "somescalar" : "valueparsed",
        "somelist" : [
           { "uuid" : "lala", "lorem" : "ipsum" },
           { "uuid" : "dada", "dolor" : "sit" }
        ]
      }
    ]
  }
}

the value of somelist should be transformed into proper nested data values. But it's just passed-through, giving an invalid UBER output of:

{ uber:
   { version: '1.0',
     data:
      [ { id: '1b361exznny',
          title: 'minimal test',
          data:
           [ { name: 'somescalar', value: 'valueparsed' },
             { name: 'somelist',
               value:
                [ { uuid: 'lala', lorem: 'ipsum' },
                  { uuid: 'dada', dolor: 'sit' } ] } ] } ] } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions