Open DeeChau opened 3 years ago
Usually fields of type "record" are stored as t.json for active-record.
t.json
The following is is not handled correctly for the Deimos::Generators::ActiveRecordGenerator e.g. in Generated.avsc
Deimos::Generators::ActiveRecordGenerator
Generated.avsc
{ "name": "an_optional_record", "doc": "an optional record", "type": [ "null", "ARecord" ], "default": null }
And it generates as: t.string :an_optional_record rather than t.json :an_optional_record.
t.string :an_optional_record
t.json :an_optional_record
Usually fields of type "record" are stored as
t.json
for active-record.The following is is not handled correctly for the
Deimos::Generators::ActiveRecordGenerator
e.g. inGenerated.avsc
And it generates as:
t.string :an_optional_record
rather thant.json :an_optional_record
.