Conversation
PR Review: Add bulk stat import routeThe refactor to extract 🟡 No upper bound on the stats arrayThe schema accepts any non-empty array with no maximum size: // bulk-create.ts
body: z.object({
stats: z.array(createStatBodySchema(z)).nonempty(),
}),Each stat is processed sequentially in a stats: z.array(createStatBodySchema(z)).nonempty().max(100),🔵
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #920 +/- ##
========================================
Coverage 97.40% 97.41%
========================================
Files 405 406 +1
Lines 6627 6641 +14
Branches 877 878 +1
========================================
+ Hits 6455 6469 +14
Misses 88 88
Partials 84 84 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
10e095c to
fc985da
Compare
fc985da to
e30e404
Compare
No description provided.