Shopify / Shopify/shopify-function-rust

Can `query_path` be optional on `generate_types`?

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
47
Forks
9
Avg merge
1h 53m
Merged PRs (30d)
2

Description

Unless you are testing or have another unique use case, the path will always be ./input.graphql for Shopify Functions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the generate_types entry point and inspect how query_path is currently required and how the default input.graphql path could be selected. Confirm the existing behavior for explicitly supplied paths and testing use cases, then run the relevant test or command to verify both the default and override cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.