Skip to content

Conversation

@aaronburtle
Copy link
Contributor

@aaronburtle aaronburtle commented Jun 29, 2023

Why make this change?

Closes #1533
Our test coverage was missing order by and filter tests for a most of the SQL Types we support in GQL. We add those tests. Adding DateTime support for PostgreSql will take additional work. Those tests are bypassed for now.

What is this change?

Adds testing for order by and filter for all the DB types within GQL, with the exception of DateTime for PostgreSql.

How was this tested?

Ran against our test suite.

Sample Request(s)

The valid GQL is included within the test cases. These can be copied if you wish to run manually.

Copy link
Collaborator

@Aniruddh25 Aniruddh25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, few comments

Copy link
Collaborator

@Aniruddh25 Aniruddh25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks for adding to our test coverage.

@Aniruddh25
Copy link
Collaborator

Adds and order by and a filter test for all the DB types within GQL. These types test all of the missing SQL Types.

fix description typo

Copy link
Contributor

@seantleonard seantleonard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some questions

Copy link
Contributor

@seantleonard seantleonard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@aaronburtle aaronburtle merged commit ebe4ef4 into main Jul 24, 2023
@aaronburtle aaronburtle deleted the dev/aaronburtle/GraphQLSqlTypeTests branch July 24, 2023 23:03
@aaronburtle aaronburtle self-assigned this Nov 17, 2023
@aaronburtle aaronburtle added the testing Test related issue. label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Test related issue.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Add OrderBy and Filter Tests in GraphQL for all supported types

4 participants