jole
jole
Aarktype
Created by jole on 12/3/2024 in #questions
email or empty string not working
export const feedbackSchema = type({
contact: 'string.email | string == 0'
});
export const feedbackSchema = type({
contact: 'string.email | string == 0'
});
Is giving runtime error: ParseError: Key $ is not valid on maxLength schema but it works with just string.email
4 replies