Skip to content

Support compact tuple-like arrays for array-of-model types #27

@naferok

Description

@naferok

Problem
Data sources (tags, metrics, key-value pairs, etc.) use very compact array-of-arrays format for efficiency:
[ ["tag-w-100", 100], ["tag-w-10", 0], ["priority-high", 85] ]

We want to map this directly to a Taxi model like:
`model TagWeight {
name : String
weight : Int
}

model Content inherits TagWeight[]`

Currently, when Orbital ingests such JSON, it falls back to lang.taxi.Any and logs a warning
WARN com.orbitalhq.models.TypedInstance$Companion - [ ] - Provided value is a collection, but the declared type lang.taxi.Any is not

Benefits
Much smaller payloads (important for high-cardinality tags / metrics)

Current workarounds (not ideal)
Force source to send full object array → often impossible (legacy APIs, size constraints, etc.)

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