Skip to content

Commit 22a9eed

Browse files
author
Vincent (Wen Yu) Ge
committed
Don't reject $ because users might define these, too
1 parent 6cf0600 commit 22a9eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/ruby/lib/container/models/model.rb.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module {{ spec.title | caseUcfirst }}
3232

3333
{% endfor %}
3434
{% if definition.additionalProperties %}
35-
data: map.reject { |k,_| k.start_with?("$") }
35+
data: map
3636
{% endif %}
3737
)
3838
end

0 commit comments

Comments
 (0)