Skip to content

Conversation

@vincent-pochet
Copy link
Collaborator

Fixes: #143

Add a new updateCustomerVatRate mutation to allow front to change the customer vat_rate without providing customer mandatory fields like customerId or name

This changes is required because the front cannot ensure name and customer id are in sync with the back when updating the vat_rate (the view is not the same) and so there is a risk of erasing/overriding changes on customer.

@vincent-pochet vincent-pochet added bug GraphQL Related to the GraphQL API Customer Customer management labels May 5, 2022
@vincent-pochet vincent-pochet self-assigned this May 5, 2022
@vincent-pochet vincent-pochet merged commit fa0eea5 into main May 5, 2022
@vincent-pochet vincent-pochet deleted the 143-lady_beetle-add-graphql-mutation-to-update-customer-vat-rate branch May 5, 2022 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Customer Customer management GraphQL Related to the GraphQL API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 Add Graphql mutation to update customer vat rate

3 participants