Skip to content

The type of an array nested beneath an array is incorrectly determined to be the type of the array's contents #422

@wilkinsona

Description

@wilkinsona

Specifically, this test will fail as the resolved type is JsonFieldType.NUMBER:

assertThat(
        this.fieldTypeResolver.resolveFieldType("a[].b[]",
                createPayload("{\"a\": [{\"b\": [ 1, 2 ]}]}")),
        equalTo(JsonFieldType.ARRAY));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions