maybe I should update the publish date
maybe I should update the publish date on big edits, even though the article wasn't originally published at that date. Would that feel right? Possibly misleading? Would need to update any "this just happened" text obv
6 Replies
The best option is probably the most work, last updated that you can sort by, but having some sort of little area that says this is updated to follow the best practices in these packages, or convex versions.
seems related to docs in general - "these docs have been updated to reflect a new XYZ" - they're just "this is true now" but the delta isn't visible
Ive been wanting to use zod more so the helpers are nice, after a year still a bit fuzzy on dealing with WithSystemFields both in and out of the front end and what is most elegant.
I am excited about the
betterV
/ vv
helpers, but there isn't a zod equivalent rn.
other than mapping in/out, where you lose the .email()
type specific validationLately i haven't had to worry as much about that with using custom ids in my main project, but im building another project that is all convex ids
Is there any docs out on using betterV / vv or equivalent workarounds?
In the README: https://github.com/get-convex/convex-helpers/tree/main/packages/convex-helpers#validator-utilities
There isn't a good "docs" answer for helpers right now other than Stack posts & the README. Might be worth splitting out helpers into separate packages with their own readme & docs, and upstreaming some things into the official
convex
packageGitHub
convex-helpers/packages/convex-helpers at main · get-convex/convex...
A collection of useful code to complement the official packages. - get-convex/convex-helpers