scandipwa / scandipwa

Next-generation front-end for Magento 2

Home Page:https://scandipwa.com/?utm_source=github&utm_medium=readme&utm_campaign=general

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error : Customise in my-account orders graphQL query

bhagvanp opened this issue · comments

=> I have passed 2 arguments in orders graphQL query for sorting order.
.addArgument('sortField', 'CustomerOrderSortableField', 'CREATED_AT') // Adjust type
.addArgument('sortDirection', 'SortEnum', 'ASC')

After passed above options then coming below error :

image

I have passed required types in order.type.ts file but still coming same error.

can you please help me how we solve this one error ?

Versions

  • ScandiPWA: 6.2.1
  • Nodejs: 14.20.0

Thank you!