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 refresh does not show changes #1893

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Fix refresh does not show changes #1893

merged 2 commits into from
Dec 9, 2024

Conversation

corymhall
Copy link
Contributor

@corymhall corymhall commented Dec 6, 2024

This PR fixes an issue where the Read method was returning the
previous (oldState) inputs which meant that refresh operations never
showed any changes.

fixes #1796

This PR fixes an issue where the `Read` method was returning the
previous (oldState) inputs which meant that refresh operations never
showed any changes.

There were a couple of other minor changes that this also fixes
1. `customResources` were not returning the correct inputs either
2. The newInputs was incorrectly including the `__inputs` property from
   the oldState

fixes #1796
Copy link
Contributor

github-actions bot commented Dec 6, 2024

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.29%. Comparing base (441255c) to head (5777a60).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1893   +/-   ##
=======================================
  Coverage   49.29%   49.29%           
=======================================
  Files          46       46           
  Lines        6804     6804           
=======================================
  Hits         3354     3354           
  Misses       3206     3206           
  Partials      244      244           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@corymhall corymhall requested review from flostadler and t0yv0 December 9, 2024 15:16
Copy link
Contributor

@flostadler flostadler left a comment

Choose a reason for hiding this comment

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

Nice!

@corymhall corymhall merged commit 0b918b8 into master Dec 9, 2024
18 checks passed
@corymhall corymhall deleted the corymhall/fix-refresh branch December 9, 2024 19:03
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.

Refresh does not show changes
2 participants