Initialize converters from type annotations
- Dominant language
- Python
- Stars
- 9.8k
- Forks
- 1k
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 7
Description
We could initialize converters from type annotations instead of the spec in the template.
This would be an optional feature that would probably need to be disabled by default in order to avoid breaking change.
The annotations would need to be consistent across all responders for the same parameter name, otherwise an instance of `ValueError` or subclass would be raised.
Contributor guide
Research direction
No files, tests, or entry points are identified. First clarify the design for deriving converters from annotations, including the default-disabled behavior, consistency checks across responders, and the expected error cases; completion should include agreed behavior and coverage for these cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100