0xPlaygrounds / 0xPlaygrounds/subgrounds
GraphQL <-> Subgrounds Query
- Dominant language
- Python
- Stars
- 73
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
- I'm frustrated when trying to convert existing GraphQL queries into Subgrounds
- I find it difficult to convert Subgrounds queries into clean GraphQL
**Describe the solution you'd like**
A way to convert (even if lossy) GraphQL into Subgrounds code and vice versa.
**Describe alternatives you've considered**
DMing the Playgrounds Team 😮💨
**Additional context**
- [GraphQL-core](https://graphql-core-3.readthedocs.io/en/latest/diffs.html#custom-middleware)
- GraphQL -> Subgrounds can be loss-less
- Subgrounds -> GraphQL will usually be lossy due to extra features we add such as pagination and synthetic fields
**Implementation checklist**
- [ ] Task 1
Contributor guide
Research direction
The issue is about building a converter between GraphQL queries and Subgrounds code. Start by examining the existing Subgrounds query builder and GraphQL parsing logic in the codebase. Look for modules handling GraphQL schema parsing and query generation. Understand how Subgrounds adds features like pagination and synthetic fields. A successful implementation will allow bidirectional conversion, with the Subgrounds-to-GraphQL path being lossy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, python
- Domain
- backend-api-design, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100