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

feat: support type casting for DataStore hooks #460

Merged
merged 1 commit into from
Apr 13, 2022
Merged

feat: support type casting for DataStore hooks #460

merged 1 commit into from
Apr 13, 2022

Conversation

hein-j
Copy link
Contributor

@hein-j hein-j commented Apr 13, 2022

Description of changes:
Support type casting for Datastore hooks introduced in UI Components version 2.13.0 (related PR)
by passing local schema object as param to the hooks.

Additional changes:
Some tests involving DataStore were broken before these changes were introduced (reproducible on another dev machine).
RCA pending but fixes introduced with current understanding of the issue.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@hein-j hein-j requested a review from a team as a code owner April 13, 2022 01:20
@codecov-commenter
Copy link

Codecov Report

Merging #460 (d92de4a) into main (e4062c8) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #460      +/-   ##
==========================================
+ Coverage   93.58%   93.61%   +0.03%     
==========================================
  Files          48       48              
  Lines        1809     1818       +9     
  Branches      395      396       +1     
==========================================
+ Hits         1693     1702       +9     
  Misses        112      112              
  Partials        4        4              
Impacted Files Coverage Δ
...ges/codegen-ui-react/lib/imports/import-mapping.ts 100.00% <100.00%> (ø)
packages/codegen-ui-react/lib/workflow/action.ts 97.22% <100.00%> (+0.34%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4062c8...d92de4a. Read the comment docs.

Copy link
Contributor

@cwoolum cwoolum left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@SwaySway SwaySway left a comment

Choose a reason for hiding this comment

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

🚢

@hein-j hein-j merged commit 79953c5 into main Apr 13, 2022
@hein-j hein-j deleted the cast branch April 13, 2022 16:45
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

4 participants