commercetools-api-reference icon indicating copy to clipboard operation
commercetools-api-reference copied to clipboard

FieldDefinition.type should point to FieldType instead of object

Open mvantellingen opened this issue 7 years ago • 1 comments

I also ran into the following issue: the FieldDefinition.type points to object instead of FieldType. This makes serializing/deserializing with auto generated code impossible.

See https://github.com/commercetools/commercetools-api-reference/blob/5b98b89d93a96149213b435f2c6f48c3bd056fb1/types/type/FieldDefinition.raml#L10

According to the file it is an TODO item. Changing this in the file on our end makes things work.

mvantellingen avatar Dec 10 '18 15:12 mvantellingen

Oh yeah. I would have to check this again. At the point were I wrote this not the whole tool chain could work correctly with this one.

jenschude avatar Dec 10 '18 15:12 jenschude