diff --git a/packages/effect-fc/src/Form.ts b/packages/effect-fc/src/Form.ts index 1cd7773..ccd02dc 100644 --- a/packages/effect-fc/src/Form.ts +++ b/packages/effect-fc/src/Form.ts @@ -55,24 +55,6 @@ extends Pipeable.Class() implements Form { }), ) } - - makeFieldIssuesSubscribable>(path: P) { - const errorRef = this.errorRef - return pipe( - Option.match({ - onSome: (v: ParseResult.ParseError) => Effect.andThen( - ParseResult.ArrayFormatter.formatError(v), - Array.filter(issue => PropertyPath.equivalence(issue.path, path)), - ), - onNone: () => Effect.succeed([]), - }), - - filter => SubscribableInternal.make({ - get: Effect.flatMap(errorRef.get, filter), - get changes() { return Stream.flatMap(errorRef.changes, filter) }, - }), - ) - } }