Skip to content

[Bug]: bug for variable shippingMethodId is ID! instead of [ID!]!  #244

@ralphsomeday

Description

@ralphsomeday

Expected Behavior

when ordering and selecting a shipping method then the page allows you to continue to the billing section

Actual Behavior

when ordering and selecting a shipping method the customer info page is crashing and we can't place an order

Possible Solution

Change shippingMethodId variable type from ID! to [ID!]! in setOrderShippingMethodMutation

Steps to reproduce

Install vendure with test data and vue-storefront for vendure placing an order and when you are at the customer info page after filling in all your information you get the option to select the shipping method when you pick any shipping method then the page crashes and you cannot continue your order

What version of vendure integration are you using?

2.1.6

What version of Node.js are you using?

18

What browser (and version) are you using?

Chrome

What operating system (and version) are you using?

macOS

Relevant log output

ERROR  [VSF][error]:  [GraphQL error]: Message: Variable "$shippingMethodId" of type "ID!" used in position expecting type "[ID!]!"., Location: [column: 33, line: 119], [column: 44, line: 120], Path: undefined

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions