Add deprecation notice

This commit is contained in:
Rory Powell 2022-01-20 21:40:10 +00:00
parent 202fef1961
commit 7b19251b8d
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
import { writable, derived } from "svelte/store" import { writable, derived } from "svelte/store"
// DEPRECATED - Use the yup based validators for future validation
export function createValidationStore(initialValue, ...validators) { export function createValidationStore(initialValue, ...validators) {
let touched = false let touched = false

View File

@ -1,3 +1,5 @@
// TODO: Convert to yup based validators
export function emailValidator(value) { export function emailValidator(value) {
return ( return (
(value && (value &&