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

fix(schema-compiler): Handle member expressions in keyDimensions #9083

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

mcheshkov
Copy link
Member

@mcheshkov mcheshkov commented Jan 8, 2025

Check List

  • Tests have been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Description of Changes Made (if issue reference is not provided)

If dimension is member expression, d.dimension would be object, and key would be [object Object] string, so separate dimensions would have same key, and all but one will be eliminated

@mcheshkov mcheshkov force-pushed the keys-subquery-member-expression branch 2 times, most recently from 69d82b1 to d2e4a27 Compare January 9, 2025 02:54
@mcheshkov mcheshkov changed the title [WIP] fix(schema-compiler): Handle member expressions in keyDimensions fix(schema-compiler): Handle member expressions in keyDimensions Jan 9, 2025
If dimension is member expression, `d.dimension` would be object, and key would be '[object Object]' string, so separate dimensions would have same key, and all but one will be eliminated
@mcheshkov mcheshkov force-pushed the keys-subquery-member-expression branch from d2e4a27 to 187354b Compare January 9, 2025 12:09
@mcheshkov mcheshkov marked this pull request as ready for review January 9, 2025 13:29
@mcheshkov mcheshkov requested a review from a team as a code owner January 9, 2025 13:29
Copy link
Member

@KSDaemon KSDaemon left a comment

Choose a reason for hiding this comment

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

👍🏻 LGTM!

@mcheshkov mcheshkov merged commit 056a1d8 into master Jan 9, 2025
60 checks passed
@mcheshkov mcheshkov deleted the keys-subquery-member-expression branch January 9, 2025 14:05
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.

2 participants