Skip to content

GraphQL fluent query builders in 6.26.0 - joy, relief and a some questions! #1238

@lanthonyneville

Description

@lanthonyneville

Firstly, @nozzlegear - thank you, thank you, thank you! What a piece of work!! I was hand writing text GraphQL queries (couldn't get the schema file working in VS) ... constant flicking back & forth between the Shopify documentation & my code, getting it wrong 20 times, tracing the request & response with Fiddler, hair loss, tears etc. What a difference this makes!!! And you retained compatibility with .NET Fmk ... sob!

Also acknowledgement obviously due to @charlesdevandiere.

Now the questions:

  1. I am using the ProductSetOperationQueryBuilder with ProductSetInput as it is the recommended way to "upsert" a product. There should be a nullable "id" property on ProductSetInput - set to identify an existing product, null for a new product, but your class does not have this. Omission or some other way to provide the ID?
  2. I am using ProductQueryBuilder & ProductVariantQueryBuilder to pull products ... can't see how to set the arguments (the required ID) however ... there's no Arguments property on the builder as indicated in your notes. Some other way to do this?

Thanks again

Metadata

Metadata

Assignees

No one assigned

    Labels

    query buildersDeals with the graphql query builder classes, methods and interfaces.question

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions