Skip to content

getNullableGenericDefaultValue API should fail Map type with null as default value.  #349

@guawang

Description

@guawang

Currently getNullableGenericDefaultValue return a hashmap object for Map type with null as default value. For example:
{
"name": "fieldName",
"type": {"type":"map", "values":"string" },
"doc" : "test.",
"default" : null
}
For this field, the getNullableGenericDefaultValue api returns a HashMap object which shouldn't.


in this place it should also validate if the defaultValue as Map object is empty or not

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