-
Notifications
You must be signed in to change notification settings - Fork 3
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
Limit the number of jobs retrieved on Jobs Query #49
Comments
Can you point into the code? I can take a look |
Hi @denysmedynskyi, thank you for your intereset on this :) Well, if you take a look at this page you can see how many jobs we list in the page. We would like to limit this to an amount of 10 jobs. For this, we need to change the backend endpoint that fetches the Jobs. This is our schema where we define our endpoints and what function will resolve the query. Take a look at |
So, to verify this is working correct I need to start https://github.com/spawnfest/elixirbench together with this project? |
No you don't. If you run just this project you will be able to work on this, write tests and play with the api from yout To better understand the relations between jobs and repositories take a look at the examples in the seeds.ex file To setup the database and seed it, you can run |
@tallysmartins I implemented |
Return just a few of them, not all. Also its needed the support for pagination.
I would say that we can have a limit of 10 jobs by default if the parameter is not given and a
max limit
of 50 if we want to query more of them. This would affect only thejobs
query by now.The text was updated successfully, but these errors were encountered: