Fix(accept-blue): Numerous differen bug fixes, see description #1196
Annotations
2 errors and 1 warning
Test:
packages/vendure-plugin-accept-blue/test/accept-blue.spec.ts#L190
Error: The custom field "acceptBlueCustomerId" is readonly
❯ SimpleGraphQLClient.query ../../node_modules/@vendure/testing/src/simple-graphql-client.ts:93:19
❯ test/accept-blue.spec.ts:190:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { errors: [ { message: 'The custom field "acceptBlueCustomerId" is readonly', locations: [ { line: 2, column: 3 } ], path: [ 'updateCustomer' ], extensions: { code: 'USER_INPUT_ERROR' } } ], data: null, status: 200 }, request: { query: 'mutation UpdateCustomer($customerId: ID!, $acceptBlueCustomerId: Int!) {\n updateCustomer(\n input: {id: $customerId, customFields: {acceptBlueCustomerId: $acceptBlueCustomerId}}\n ) {\n ... on Customer {\n id\n emailAddress\n }\n ... on ErrorResult {\n message\n }\n }\n}', variables: { customerId: '1', acceptBlueCustomerId: 181937 } } }
|
Test
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading