Vendure: OrderAddress Admin Type missing customFields

Created on 5 Jan 2021  路  4Comments  路  Source: vendure-ecommerce/vendure

Describe the bug
OrderAddress is missing _customFields_.

bug 馃悰

All 4 comments

They are working and present in live schema (in playground as well in JS object itself) so I was able to implement my feature. However Visual Studio Code is not aware of "customFields" property so I had to do _(billingAddress as any).customFields_ when creating feature on the backend.

So maybe I put wrong link, the point is that the node_modules\@vendure\core\dist\entity\order\order.entity.d.ts is missing the property

Ah okay, so would it be better to keep the field but type is as JSON when there are no customFields defined, as we do with other entities?

I believe so, it would be dev-friendlier :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rcorzogutierrez picture rcorzogutierrez  路  6Comments

jonyw4 picture jonyw4  路  6Comments

villesau picture villesau  路  3Comments

lsimone picture lsimone  路  7Comments

hendrik-advantitge picture hendrik-advantitge  路  6Comments