We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e82383a commit be8c9e1Copy full SHA for be8c9e1
docsite/source/optional-values.html.md
@@ -11,6 +11,8 @@ Types themselves have optional attributes you can apply to get further functiona
11
By default, nil values raise an error:
12
13
``` ruby
14
+Types = Dry.Types()
15
+
16
Types::Strict::String[nil]
17
# => raises Dry::Types::ConstraintError
18
```
0 commit comments