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

Add filter tests to URL field type #3375

Merged
merged 1 commit into from
Aug 12, 2020
Merged

Conversation

singhArmani
Copy link
Contributor

No description provided.

@singhArmani singhArmani requested a review from timleslie August 11, 2020 06:54
@changeset-bot
Copy link

changeset-bot bot commented Aug 11, 2020

🦋 Changeset is good to go

Latest commit: bfa3c86

We got this.

This PR includes changesets to release 1 package
Name Type
@keystonejs/fields Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@request-info
Copy link

request-info bot commented Aug 11, 2020

It looks like we could use some more details. Good titles and descriptions help us fix things faster. If you can provide more information please update this issue.

Copy link
Contributor

@MadeByMike MadeByMike left a comment

Choose a reason for hiding this comment

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

Why are testing this since it uses the Text implementation?

Copy link
Contributor

@timleslie timleslie left a comment

Choose a reason for hiding this comment

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

We will want to test the case-insensitive filter options as well.

@singhArmani singhArmani force-pushed the url-field-filter-tests branch 2 times, most recently from 5df1bd8 to 67c0e0f Compare August 11, 2020 13:06
@timleslie
Copy link
Contributor

Why are testing this since it uses the Text implementation?

This is about black-box testing the API to ensure that it behaves in the way we expect, independent of what we know about the implementation details. This is important for verifying the correctness of the prisma adapter in #3298 .

Copy link
Contributor

@timleslie timleslie 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 👍

@singhArmani singhArmani force-pushed the url-field-filter-tests branch from 67c0e0f to 4c60a0f Compare August 11, 2020 23:56
@singhArmani singhArmani force-pushed the url-field-filter-tests branch from 4c60a0f to bfa3c86 Compare August 12, 2020 00:04
@timleslie timleslie merged commit 7422922 into master Aug 12, 2020
@timleslie timleslie deleted the url-field-filter-tests branch August 12, 2020 00:19
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