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

Lint for multiple versioned types in module #11121

Merged
merged 1 commit into from
May 27, 2022

Conversation

psteckler
Copy link
Member

The versioned type linter was detecting changes to at most one type in a module, because the Python script builds a dictionary where the key was a module path printed by print_versioned_types. That tool relies on the printer invoked by deriving version.

That mean that changes to query types in RPC modules were not being detected in CI; the dictionary entry was overwritten with an entry for the response type.

Modify the printer to append the type to the module path.

@psteckler psteckler requested review from bkase, imeckler, mrmr1993 and a team as code owners May 27, 2022 21:22
@psteckler psteckler added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label May 27, 2022
@psteckler psteckler merged commit 5b1bc37 into develop May 27, 2022
@psteckler psteckler deleted the fix/bump-ppx-version-path-to-type branch May 27, 2022 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants