Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using zod for validation on voting API endpoints #1476

Merged
merged 8 commits into from
Mar 12, 2024

fix lint

fb79bac
Select commit
Loading
Failed to load commit list.
Merged

Switch to using zod for validation on voting API endpoints #1476

fix lint
fb79bac
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Mar 12, 2024 in 1s

29.6296% of diff hit (target 60.0000%)

View this Pull Request on Codecov

29.6296% of diff hit (target 60.0000%)

Annotations

Check warning on line 4 in common/models/zod-schemas.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/models/zod-schemas.ts#L3-L4

Added lines #L3 - L4 were not covered by tests

Check warning on line 9 in common/models/zod-schemas.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/models/zod-schemas.ts#L9

Added line #L9 was not covered by tests

Check warning on line 30 in common/models/zod-schemas.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/models/zod-schemas.ts#L22-L30

Added lines #L22 - L30 were not covered by tests

Check warning on line 311 in server/api/room.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/room.ts#L310-L311

Added lines #L310 - L311 were not covered by tests

Check warning on line 319 in server/api/room.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/room.ts#L319

Added line #L319 was not covered by tests

Check warning on line 332 in server/api/room.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/room.ts#L331-L332

Added lines #L331 - L332 were not covered by tests

Check warning on line 340 in server/api/room.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/room.ts#L340

Added line #L340 was not covered by tests