https://github.com/patrick91/strawberry-file-based
https://github.com/patrick91/strawberry-file-based
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrick91/strawberry-file-based
- Owner: patrick91
- Created: 2023-09-01T19:28:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-01T19:28:35.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T02:51:22.249Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
.
├── project
│ ├── mutation # Mutation Root type is created by combining all the
│ │ ├── __init__.py # mutations together into a single root-level object.
│ │ └── add_post.py
│ ├── query # same for Query Root type
│ │ ├── __init__.py
│ │ ├── posts.py
│ │ └── post.py
│ └── types # GraphQL types are created by defining a class
│ ├── __init__.py # inside `[type_name]/__init__.py` file
│ ├── comment
│ │ ├── __init__.py
│ │ └── post.py # nested resolvers are defined inside `[type_name]/[field_name].py`
│ └── post
│ ├── __init__.py
│ └── comments.py
```