-
Notifications
You must be signed in to change notification settings - Fork 0
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
Custom box order #75
base: master
Are you sure you want to change the base?
Custom box order #75
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great code as always!
Just left some minor comments to fix.
@@ -184,6 +199,18 @@ export class BoxResolver { | |||
throw new GraphQLError("At least one argument is required for box query."); | |||
} | |||
|
|||
// eslint-disable-next-line @typescript-eslint/no-explicit-any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a good idea? I think not violating our lint rules would be better.
@@ -204,7 +231,8 @@ export class BoxResolver { | |||
boxIds, | |||
heightType, | |||
skip, | |||
take | |||
take, | |||
orderBy: order |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please confirm that you've tested different ordering options by running the code as well?
No description provided.