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 f8a5cfa commit 91affcdCopy full SHA for 91affcd
shard.yml
@@ -1,5 +1,5 @@
1
name: json-schema
2
-version: 1.3.0
+version: 1.3.1
3
4
development_dependencies:
5
ameba:
src/json-schema.cr
@@ -26,7 +26,7 @@ module JSON
26
# all we know is that it can be parsed as JSON
27
{{key}}: { enum: [
28
{% for const in ivar.constants %}
29
- JSON.parse({{converter.resolve}}.to_json({{ivar.name}}::{{const}})),
+ JSON.parse({{converter.resolve}}.to_json({{ivar.name}}::{{const}}).as(String)),
30
{% end %}
31
]},
32
{% else %}
0 commit comments