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: make sure charts don't crash the setProperties calls #1550

Merged
merged 1 commit into from
May 20, 2024

Conversation

Caele
Copy link
Collaborator

@Caele Caele commented May 20, 2024

Motivation

When running setProperties on a chart model you should be able to set any props, even if they are not supported by the current chart. For example when changing the chart type. So adding some try/catch:es to stop charts from crashing.

Requirements checklist

  • Api specification
    • Ran yarn spec
      • No changes OR API changes has been formally approved
  • Unit/Component test coverage
  • Correct PR title for the changes (fix, chore, feat)

When build and tests have passed:

  • Add code reviewers, for example @qlik-oss/nebula-core

@Caele Caele requested a review from a team May 20, 2024 09:21
@Caele Caele merged commit c54575a into main May 20, 2024
10 checks passed
@Caele Caele deleted the tsm/set-props-guard branch May 20, 2024 11:19
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.

None yet

2 participants