magento / architecture

A place where Magento architectural discussions happen
275 stars 155 forks source link

ECP-472: GraphQL schema for company credit #364

Closed paliarush closed 4 years ago

nrkapoor commented 4 years ago

As per @mbrinton01 we should add currency to

type CompanyCredit { outstanding_balance: Money! @doc(description: "Outstanding company credit") available_credit: Money! @doc(description: "Available company credit") credit_limit: Money! @doc(description: "Company credit limit") currency: String! @doc(description: "Company credit currency") }

nrkapoor commented 4 years ago

@mbrinton01 the type Money! includes currency.

mbrinton01 commented 4 years ago

That works :)