ncrypthic / doctrine-graphql

Doctrine ORM to GraphQL bridge
MIT License
2 stars 1 forks source link

Implement nested filter on `getEntitySearchPage` query #7

Closed ncrypthic closed 5 years ago

ncrypthic commented 5 years ago

This implements enhancement for #2

Now the EntitySearchInput will have related property filter, and the executor is able to apply related property filters.

type Post {
   title: String!,
}

type User {
    username: String!,
    posts: [Post]
}

input PostSearchInput {
  title: [SearchFilterInput]
}

input UserSearchInput {
    username: [SearchFilterInput],
    posts: PostSearchInput
}

input UserPageInput {
  search: UserSearchInput
}