Skip to content

CRECUST.cbl does not validate fields #86

Description

@Sash9

Problem:
CRECUST.cbl does not validate phoneNumber, address fields, or customerStatus. Only title and dateofBirth are enforced. This makes input validation difficult for the Post/customer or create customer API. Empty fields can be entered.

Proposed Solution:
Add COBOL side validation to CRECUST.cbl
Length checks on firstName, lastName, phoneNumber, addressLines, city, country, postalCode
Enum/value check on customerStatus

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