Can `query_path` be optional on `generate_types`?

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

Nobody has claimed this yet.

Assessment

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

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.

Description

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

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

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.

More from Shopify/shopify-function-rust

All issues in Shopify/shopify-function-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.