-
Notifications
You must be signed in to change notification settings - Fork 45
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: Events API null total #27
Conversation
@christianmat I am not sure if I am supposed to write tests for it. Anyways do let me know what you think about it. |
Hey @tuminzee, thanks for this PR. Please see the guide on contributing re: tests: https://docs.trench.dev/contributing One thing we need to fix here is that the |
@christianmat I have made a separate query for calculating the total. It is not a length fn. I will check the contribution guidelines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add e2e tests as well that test that this field works. See other e2e tests for examples.
Yes I will do that |
Questions for review:
|
|
|
Fixes #13
Earlier the total was returning a hardcoded
null
value, I changed it to get count on the where clause