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
'A field whose value conforms to the standard internet email address format as specified in RFC822: https://www.w3.org/Protocols/rfc822/.',
25
+
'A field whose value conforms to the standard internet email address format as specified in HTML Spec: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address.',
26
26
27
27
serialize: validate,
28
28
29
29
parseValue: validate,
30
30
31
31
parseLiteral(ast){
32
32
if(ast.kind!==Kind.STRING){
33
-
throwcreateGraphQLError(`Can only validate strings as email addresses but got a: ${ast.kind}`,{nodes: ast});
33
+
throwcreateGraphQLError(
34
+
`Can only validate strings as email addresses but got a: ${ast.kind}`,
0 commit comments