Replies: 1 comment
-
Kevin Mattutat: I think this is intended and triggered by the return type that implements PaginatedList . Michael Bromley: |
Beta Was this translation helpful? Give feedback.
-
Kevin Mattutat: I think this is intended and triggered by the return type that implements PaginatedList . Michael Bromley: |
Beta Was this translation helpful? Give feedback.
-
Hi. I noticed that Vendure silently overrides (and/or adds?) any Graphql query parameters called "options" with its own types if the return type is an List.
For example, I'm writing a method for searching products and the graphql definition is as follows:
searchProducts(query: String, facetIds: [ID!], matchAll: Boolean, options: MyOwnListOptions): ProductList
But the generated code contains this
searchProducts(query: String, facetIds: [ID!], matchAll: Boolean, options: ProductListOptions): ProductList
Is this by design? Can it be turned off?
Beta Was this translation helpful? Give feedback.
All reactions