Skip to content

Update dew.Query() method parameters to infer return type #8

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

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

yottahmd
Copy link
Contributor

@yottahmd yottahmd commented Aug 7, 2024

The dew.Query() should take query object parameter that is not wrapped by dew.CommandHandler so that it can infer the return type *T.

@yottahmd yottahmd merged commit 720e409 into main Aug 7, 2024
3 checks passed
@yottahmd yottahmd deleted the update-query-api branch August 7, 2024 12:01
@yottahmd yottahmd changed the title Query API should receive bus and query object directly Update dew.Query() method parameters to infer return type Aug 7, 2024
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