You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure I entirely get the issue. So it will be nice to have a reproduction of the same
The code generated by Vine when using kebab-case field is invalid. The issue reside inside the compiler. Maybe we should normalize the casing of the field inside the generated code.
Package version
^2.0.0
Describe the bug
On our AdonisJS model we have a hyphenated column name like this
And we declare it in our consts file like this:
Vine declaration
We're using the vinejs for checking the body for the CREATE request and when we're passing
"avs-address": "Sample Address",
it is giving us the error:
SyntaxError: Missing initializer in const declaration
Can someone help with this? Thank you!
Reproduction repo
No response
The text was updated successfully, but these errors were encountered: