Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

M1ke
Copy link

@M1ke M1ke commented Oct 7, 2025

Add a warning to extends keyword to note which keys it doesn't extend

Check List

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

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

The extends keyword does not apply refresh_key to the cube that's extended, if the base cube is abstract, instead that cube will use the default refresh. There's no indication of this being a bug but the docs don't clarify it. Checking the code it's unclear if this is deliberate but it feels like this would be a clear bug otherwise so assuming it's intended. This clarifies the behaviour to avoid unnecessary cache refreshes.

M1ke added 2 commits October 7, 2025 12:41
Add a warning to extends keyword to note which keys it doesn't extend
@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Oct 7, 2025
@M1ke
Copy link
Author

M1ke commented Oct 7, 2025

Selection_001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:community Contribution from Cube.js community members.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.