Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Custom box order #75

wants to merge 3 commits into from

Conversation

arobsn
Copy link
Member

@arobsn arobsn commented Oct 26, 2023

No description provided.

@arobsn arobsn requested a review from SepehrGanji October 30, 2023 22:38
Copy link
Collaborator

@SepehrGanji SepehrGanji left a 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
Copy link
Collaborator

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
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants