Skip to content

Help detect when their supplied query inputs are invalid #917

@pudo

Description

@pudo

supplying birthDate when schema is LegalEntity ignores birthDate and logs a warning on the API side, which the user never see.

Supplying something that doesn't validate as a date doesn't log server side and is also just ignored.

At least since explanations, it's noted as if it wasn't supplied, which is a strong hint.

Is rejecting the request outright too harsh?

Maybe we could then just make the explanations even more concrete, e.g. Date supplied was invalid? For the property that isn't relevant, it's harder to know what to say, but perhaps also more ok to reject the request since it isn't a validation question as much as a schema question.

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