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

Delete old not_a_string_type test #254

Merged
merged 1 commit into from
May 29, 2023

Conversation

kyrias
Copy link
Contributor

@kyrias kyrias commented May 26, 2023

This test was checking that the derive macro assertion about the type not being one of the known string types was working, but now since we allow implementations of the email validation for third-party types there is no way for us to perform this check in the derive macro.

The same assertion is still used for the credit card and non-control character validators, but those will also soon be switched to be trait-based.

@Keats
Copy link
Owner

Keats commented May 28, 2023

I think we should probably remove all those checks no?

@kyrias
Copy link
Contributor Author

kyrias commented May 29, 2023

They should be removed when the same has been done for those two constraint types, but I feel like it's reasonable to have the test for them until that's done, though looking at them that should be quickly done, hm.

This test was checking that the derive macro assertion about the type
not being one of the known string types was working, but now since we
allow implementations of the email validation for third-party types
there is no way for us to perform this check in the derive macro.

The same assertion is still used for the credit card and non-control
character validators, but those will also soon be switched to be
trait-based.
@kyrias kyrias force-pushed the replace-not_a_string_type-test branch from 08da611 to 0520e3b Compare May 29, 2023 08:22
@kyrias kyrias changed the title Replace old not_a_string_type test Delete old not_a_string_type test May 29, 2023
@Keats Keats merged commit a026b95 into Keats:next May 29, 2023
4 checks passed
@kyrias kyrias deleted the replace-not_a_string_type-test branch June 1, 2023 08:35
Keats pushed a commit that referenced this pull request Mar 4, 2024
This test was checking that the derive macro assertion about the type
not being one of the known string types was working, but now since we
allow implementations of the email validation for third-party types
there is no way for us to perform this check in the derive macro.

The same assertion is still used for the credit card and non-control
character validators, but those will also soon be switched to be
trait-based.
Keats pushed a commit that referenced this pull request Mar 4, 2024
This test was checking that the derive macro assertion about the type
not being one of the known string types was working, but now since we
allow implementations of the email validation for third-party types
there is no way for us to perform this check in the derive macro.

The same assertion is still used for the credit card and non-control
character validators, but those will also soon be switched to be
trait-based.
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.

None yet

2 participants