Skip to content

Static Type Generation for Params, Body, and Responses #1031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sakshiarora386 opened this issue Mar 5, 2025 · 0 comments
Open

Static Type Generation for Params, Body, and Responses #1031

sakshiarora386 opened this issue Mar 5, 2025 · 0 comments
Labels
feature new feature

Comments

@sakshiarora386
Copy link
Contributor

sakshiarora386 commented Mar 5, 2025

Current Behavior
Currently, when writing functions, developers do not get static type hints for parameters, request bodies, and responses. This can lead to runtime errors and makes refactoring harder.

Expected Behavior
Automatically generate TypeScript types for request parameters, request bodies, and responses based on the event-to-function mapping.
Provide type hints while writing functions.
If an event-function binding changes, show an error to help identify inconsistencies.

@sakshiarora386 sakshiarora386 added the feature new feature label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature
Projects
None yet
Development

No branches or pull requests

1 participant