ian
ian2d ago

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
ampp
ampp2d ago
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.
ian
ianOP2d ago
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
ampp
ampp2d ago
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.
ian
ianOP2d ago
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 validation
ampp
ampp2d ago
Lately 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?
ian
ianOP2d ago
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 package
GitHub
convex-helpers/packages/convex-helpers at main · get-convex/convex...
A collection of useful code to complement the official packages. - get-convex/convex-helpers

Did you find this page helpful?