-
Notifications
You must be signed in to change notification settings - Fork 2
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
added requested feature to query allHehes. Resolved linting error fro… #261
Conversation
…m post.api.test.ts
Coverage report
Test suite run failedFailed tests: 2/237. Failed suites: 1/19.
Report generated by 🧪jest coverage report action from 2887780 |
I have deployed this PR to feat-allhehes-ekorre.review.esek.se 🚀 |
Är inte detta samma sak som |
Jo men Froborg tyckte det var fult. Låg kvar som en "issue" så jag la till det. |
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.
LGTM
(Men lägg gärna till dig i contributors i package.json om du inte är där)
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.
Before we merge this we really should start looking into paginating our all-x
-reponses. This is not an issue now, but once we start having a few months of stuff it's really gonna impact load time.
I suggest we add some more fields:
page_size
/limit
: the max number of items returnedpage
: the page we want
The response is going to be more complex, because we need to return information about nextPage
, totalCount
etc. @blennster has done this in the past on other projects.
Also - with this resolver I don't really see the need for the |
I'd be happy to remove the |
Same thing as |
…m post.api.test.ts.
Issue #241: Nu finns en query,
allHehes
(med optionalsortOrder
), för att hämta alla hehes. All funktionalitet fanns redan så inga nya tester eller så, bara en rad till i graph:en och resolvern (hehe.graphql
ochhehe.resolver.ts
).