Skip to content
This repository was archived by the owner on Jan 14, 2021. It is now read-only.

Order by related fields #303

Closed
alan345 opened this issue Nov 20, 2019 · 2 comments
Closed

Order by related fields #303

alan345 opened this issue Nov 20, 2019 · 2 comments
Labels
kind/feature A request for a new feature.

Comments

@alan345
Copy link

alan345 commented Nov 20, 2019

Example: a User has many Posts. Should be possible to order the Posts by User name.

Maybe:

query {
  allPosts(orderByRelated: [user_name_ASC]) {
    id
  }
}

related to this issue with Prisma1: prisma/prisma#95

@pantharshit00 pantharshit00 added the kind/feature A request for a new feature. label Nov 21, 2019
@glen-84
Copy link

glen-84 commented Jan 9, 2020

Duplicate of #108.

@pantharshit00
Copy link
Contributor

Hi,

Thanks for reporting this! It has already been reported before, so I am going to close this as a duplicate of #108

Also, thanks to @glen-84 for pointing out the related issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature A request for a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants