Tech
The Cut You'll Make Twice
There is a file in this blog's repo called tags.ts . Eight lines in, it says this:
IMPORTANT: Do not add new tags without updating this file.
Build validation will reject posts with unapproved tags.
I wrote that. It's addressed to an agent, and every agent that writes a post here reads it.
The schema that would do the rejecting is one line in a different file:
tags : z . array ( z . string ()). optional (),
Any array of any strings. It appears eight...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to