commercetools-api-reference
commercetools-api-reference copied to clipboard
FieldDefinition.type should point to FieldType instead of object
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.
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.