Skip to content

JsonModel does not support a field of list of str with validation #246

Open
@oren-twigo

Description

@oren-twigo

for example:
tags: List[str] = Field(min_length=1)

error:
"In this Preview release, list and tuple fields can only contain strings. Problem field: tags. See docs: TODO"

note:
tags: List[str] = Field(index=True)
Does work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions