Skip to content

Commit

Permalink
changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomociti committed May 28, 2024
1 parent 7487272 commit aba5441
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/unlucky-lobsters-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@cube-creator/cli": patch
"@cube-creator/ui": patch
---

Improve error messages and prevent mixing language and datatype
1 change: 0 additions & 1 deletion cli/lib/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function quadToString(quad: Quad): string {
})
}

// consider replacing should with may
const messages = new TermMap<NamedNode, string>([
[xsd.boolean, 'Boolean values should be formatted as "true" and "false" (or "0" and "1"). See also https://www.w3.org/TR/xmlschema-2/#boolean.'],
[xsd.date, 'Dates should be formatted as YYYY-MM-DD as specified by ISO 8601. See also https://www.w3.org/TR/xmlschema-2/#date.'],
Expand Down

0 comments on commit aba5441

Please sign in to comment.