vinejs / vine

VineJS is a form data validation library for Node.js

Home Page:https://vinejs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add rule names to compiled schema

arthur-er opened this issue · comments

Package version

1.7.0

Describe the bug

Opening this as a bug because there's no way to open feature request issues right now.

Add names to rules similar to the Symbol(schema_nme) on s, this will allow for tooling like vine to zod/vine to json schema to be more complete feature-wise. Including a Symbol(rule_name) in rules would do the trick

Reproduction repo

No response

Hey, sorry picking up it a bit late. Can you please share some examples of that exactly you need in the compiled output?