Skip to content

Fix ValidationError caused by missing endCursor #47

@roskakori

Description

@roskakori

Steps to reproduce

Run:

pytest tests/test_done_project_items_info.py::test_can_resolve_done_project_items_info

Actual result

FAILED tests/test_done_project_items_info.py::test_can_resolve_done_project_items_info - pydantic_core._pydantic_core.ValidationError: 1 validation error for NodeByIdInfo
node.items.pageInfo.endCursor
  Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
    For further information visit https://errors.pydantic.dev/2.10/v/string_type

Expected result

Test passes.

Related issues

Revealed during #45.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions