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

endpoint type is Any #2895

Merged
merged 1 commit into from May 5, 2024
Merged

endpoint type is Any #2895

merged 1 commit into from May 5, 2024

Conversation

davidism
Copy link
Member

@davidism davidism commented May 5, 2024

Rule.endpoint can be anything, not only a string. Use Any instead of str for annotations. The only place I could see where this might matter is for the "did you mean" suggestion, which now converts the endpoints to strings before commparing.

fixes #2836

@davidism davidism added this to the 3.0.3 milestone May 5, 2024
@davidism davidism merged commit d2d3869 into 3.0.x May 5, 2024
11 checks passed
@davidism davidism deleted the endpoint-type branch May 5, 2024 16:26
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant