amplication / amplication/amplication

🐛 Bug Report: Input validators (class-validator) on the server are not really enforcing the validation

Open
#7,730 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

When you use the GQL playground or similar, to trigger a query or mutation and sending input parameters that do not confirm to specified input validators, e.g. `@IsEmail()` - the input validator is ignored and you will not get a validation error.

Expected:
You get a validation error when sending inputs that are not according to the specified types / formats.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.