``` input EditWidth { width: BigDecimal @Positive @Digits(integer: 10, fraction: 2) } ``` How to handle the `Positive` directive? this format always expects arguments ``` directive: arg1: schemaApi arg2: ["schemaApi2", "Hello $1"] ``` It would be ideal to be able to define directive mapping without arguments like: ``` directives: { Positive: "positive" } ```
Activity
Better support for custom directives
Better support for custom directives
MaLiN2223 commentedon Mar 6, 2025
We would love to see this working as well, are there any workarounds?
Code-Hex commentedon Apr 25, 2026
Fixed in #1423. Directive mappings can now target directives without arguments.