gardenbuilder-app / gardenbuilder-app/gardenbuilder-backend-python
Write a query to allow users to request a list of plant varieties.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Type
feature request
Problem or To-Do
Write a query to allow users to request a list of plant names. Query should:
- Accept the `id` of a plant type (plant type is general, i.e. "pepper")
- In turn call Trefle.io to get a list of all varieties of that plant type (i.e. "Habanero", "Serrano", "Thai", etc.)
- return results in graphql response, with variety { commonName, scientificName, id }
Contributor guide
Research direction
Start by locating the repository's existing GraphQL query and resolver entry points for plant types, then review how it calls Trefle.io. Confirm the external response fields and define the requested variety fields: commonName, scientificName, and id. Done means a plant type id returns its varieties in the GraphQL response, with the relevant query behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, graphql, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100