From 783f67a03e09335a8a7021abacefaaecb92972da Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 3 Jul 2020 13:17:47 +0200 Subject: [PATCH] Add FIXME comment --- src/aggregrate-errors.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/aggregrate-errors.js b/src/aggregrate-errors.js index a94e531..219ec85 100644 --- a/src/aggregrate-errors.js +++ b/src/aggregrate-errors.js @@ -11,6 +11,7 @@ const { dim, dimBold, highlight, highlightBold } = require("./colors"); // TODO: Omit the "At (root)" for path-less errors, to avoid confusion when singular values are being compared? // TODO: Move out the path generating logic into a separate module, to better support custom error formatting code +// FIXME: Remove duplicate subError-less error messages, when heuristics are enabled? eg. multiple "Must be an array" for different arrayOf combinators function joinPathSegments(segments) { return (segments.length > 0)