Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(codeintel): Pass UsageKind instead of raw column names#64003

Merged
varungandhi-src merged 1 commit into
mainfrom
vg/usage-kind
Jul 23, 2024
Merged

chore(codeintel): Pass UsageKind instead of raw column names#64003
varungandhi-src merged 1 commit into
mainfrom
vg/usage-kind

Conversation

@varungandhi-src

@varungandhi-src varungandhi-src commented Jul 23, 2024

Copy link
Copy Markdown
Contributor

Pass down semantic information down as much as possible,
delaying lossy conversion to table names till the very end.

I will be introducing the exhaustive linter in a future PR
(https://golangci-lint.run/usage/linters/#exhaustive)
so that we can get a static error if you don't switch exhaustively.

Stepping stone for GRAPH-573

Test plan

Covered by existing tests.

@cla-bot cla-bot Bot added the cla-signed label Jul 23, 2024
@github-actions github-actions Bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels Jul 23, 2024
@varungandhi-src varungandhi-src enabled auto-merge (squash) July 23, 2024 10:16

@kritzcreek kritzcreek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yay, types!

@varungandhi-src varungandhi-src merged commit 978abd5 into main Jul 23, 2024
@varungandhi-src varungandhi-src deleted the vg/usage-kind branch July 23, 2024 10:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants