Open tallysmartins opened 6 years ago
Taking this up
@tallysmartins Does the graphql query supports sort? or it needs to be formatted manually after results are fetched from query?
@arshadkazmi42 from what I know absynthe graphql library does not support this natively. We need to support orderBy
argument in our backend, which is the correct approach for this problem.
@tallysmartins where can I find the backend code for this?
Hi, again! First of all, thank you for your interest on doing this :heart:
This file here in our backend repository describes our graphql queries, the line 45 is related to the jobs endpoint. The orderBy
attribute support must be there somehow... Try to find some examples out there, I don't have much experience on best practices with GraphQL libraries
You can also join our slack channel #elixir-bench
in the elixir-lang.slack.com
group so we can discuss this more deeply and sync.
In the repos page, jobs listed should be sorted by created_at, from the newest to oldest https://www.elixirbench.org/#/repos