-
Notifications
You must be signed in to change notification settings - Fork 124
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
GraphQL Support #377
Comments
I've honestly not looked at graphQL much. Could you provide an example of how you would create a paginated result with typeORM please? :) I'm guessing the query would look something like this const query = repository.queryBuilder()
.select(requiredProperties)
.where(matching)
.limit(limitFromQL)
.from()// last index?
const [count, results] = Partial<MyEntity> query.getManyAndCount(); |
I think it should be a relay connection not a pagination. |
After working with GraphQL for a bit, I think it would be possible to set this up and @rifatdover you're right, it would be a relay connection. I'll see what I can do! |
yes i tried but so basically, ı turn this "https://relay.dev/graphql/connections.htm" later. maybe that gives an idea |
It's works. I have many queries with return
All queries have option IPaginationOption, filters ( custom field ) and sort by any field from Entity |
Is there any way to use this with GraphQL?
Currently, i am not able to select the correct Query Return Object
The text was updated successfully, but these errors were encountered: