Skip to content

Commit

Permalink
feat(core): Allow OrderAddress custom fields to be modified
Browse files Browse the repository at this point in the history
Relates to #979
  • Loading branch information
michaelbromley committed Aug 19, 2021
1 parent e1ffe3f commit c622f1f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/core/src/api/config/graphql-custom-fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@ export function addGraphQLCustomFields(
}
`;
}
if (schema.getType('UpdateOrderAddressInput')) {
customFieldTypeDefs += `
extend input UpdateOrderAddressInput {
customFields: UpdateAddressCustomFieldsInput
}
`;
}
} else {
if (schema.getType('OrderAddress')) {
customFieldTypeDefs += `
Expand Down

0 comments on commit c622f1f

Please sign in to comment.