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

Adding singleRecord and averageRecord to Result's schema #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ViniRoveri
Copy link

Hey! It's me again lol

I noticed that you added the singleRecord and averageRecord properties when creating the Result object to count the amount of records of a person, but I thought it was also very helpful to have this data on the api as well when getting a result!

So I just added these fields to the json serialization function, and to the api documentation already as well

Also, I didn't add anything about these changes to the tests, cause it's fair that you do so the way you feel the most confortable

Cheers!

@robiningelbrecht
Copy link
Owner

@ViniRoveri Problem is that all result json files will need to be rebuilt then :). I was trying to avoid that.
I'll check this PR and merge when I have some left over time.
Thanks for your contribution!

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.

None yet

2 participants