Skip to content
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

fix: support async functions as static parameters input in file-system based router #86

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

lazarv
Copy link
Owner

@lazarv lazarv commented Dec 5, 2024

Adds support for async functions as static parameters input in the file-system based router.

// [id].static.ts
export default async () => [{ id: 1 }, { id: 2 }, { id: 3 }];

#81

@lazarv lazarv merged commit 4fe0d72 into main Dec 5, 2024
7 checks passed
@lazarv lazarv deleted the fix/static-parameters-async-function branch December 5, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant