Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Check deserialized query id matches expected id #783

Merged
merged 1 commit into from
May 28, 2024

Conversation

jw013
Copy link
Contributor

@jw013 jw013 commented May 27, 2024

Alternative approach to resolve #735 by testing for id consistency

(continuing discussion from #781)

My original line of thinking was that having the name of a lint repeated in the file name and contents and requiring them to match seems like a violation of DRY/"Don't Repeat Yourself", so it would be better to only store the name in one place. Comparing the two approaches though, I have to agree the checking approach does seem much simpler.

@obi1kenobi
Copy link
Owner

Thanks!

@obi1kenobi obi1kenobi merged commit c4f9330 into obi1kenobi:main May 28, 2024
34 checks passed
@jw013 jw013 deleted the 735-test branch June 1, 2024 17:35
@jw013 jw013 mentioned this pull request Jun 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider either testing that lint file names match their id fields, or removing the field entirely.
2 participants