diff options
author | pommicket <pommicket@gmail.com> | 2025-09-09 22:39:10 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-09 22:39:10 -0400 |
commit | 7539affac22f5aa1275b62fa9dc42043d8762795 (patch) | |
tree | 441824a2ea6eec8676d28ac7c66d284f7607ab6d /site | |
parent | fa15fef8804373124b623b2265eb7588f25e9f16 (diff) |
Allow Any as alias of String
Diffstat (limited to 'site')
-rw-r--r-- | site/spec.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/site/spec.html b/site/spec.html index fdd3fed..f5cb5e2 100644 --- a/site/spec.html +++ b/site/spec.html @@ -455,19 +455,19 @@ The value of the <code>type</code> rule for vehicle.car.id is String, for vehicle.truck.id is UInt, for my.truck.id is Float, for my.car.id is Int, -and for my.nephews.car.id is String (no schema key matches, so the default of String is used). +and for my.nephews.car.id is Any (no schema key matches, so the default is used). </p> <h3><code>type</code> rule</h3> <p> - Default: <code>String</code>. + Default: <code>Any</code>. </p> <p> This describes what values a key is allowed to be associated with. The following types are defined: </p> <ul> - <li><code>String</code> — accepts any value</li> + <li><code>Any</code> or <code>String</code> — accepts any value</li> <li><code>None</code> — accepts an unset value (special—see below)</li> <li><code>Empty</code> — accepts an empty value (equivalent to <code>''</code>)</li> <li> |