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

CPLAT-4129: Use unconvertJsProps() instead of getJsProps() #234

Merged
merged 2 commits into from
Feb 8, 2019

Conversation

evanweible-wf
Copy link
Contributor

@evanweible-wf evanweible-wf commented Feb 7, 2019

CPLAT-4129

Issue Status

This is dependent on Workiva/react-dart#153 - should be released in react-dart v4.6.0

Ultimate problem:

getJsProps() is deprecated and the alternative (unconvertJsProps()) is available in react-dart 4.6.0.

How it was fixed:

Update usages of the deprecated getJsProps() to the new unconvertJsProps() method in react-dart.

Testing suggestions:

  • CI passes

Potential areas of regression:

  • Calls to getJsProps(), should all be tested via unit tests

FYA: @greglittlefield-wf @aaronlademann-wf @kealjones-wk @corwinsheahan-wf

@aviary2-wf
Copy link

Security Insights

No security relevant content was detected by automated scans.

Action Items

  • Review PR for security impact; comment "security review required" if needed or unsure
  • Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

@rmconsole7-wk rmconsole7-wk changed the title Use unconvertJsProps() instead of getJsProps() CPLAT-4129 Use unconvertJsProps() instead of getJsProps() Feb 7, 2019
@charliekump-wf charliekump-wf changed the title CPLAT-4129 Use unconvertJsProps() instead of getJsProps() CPLAT-4129: Use unconvertJsProps() instead of getJsProps() Feb 7, 2019
@evanweible-wf
Copy link
Contributor Author

Failing build is expected, will be fixed when react-dart 4.6.0 has actually be released.

@greglittlefield-wf
Copy link
Contributor

+1

@codecov-io
Copy link

Codecov Report

Merging #234 into master will decrease coverage by 0.08%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #234      +/-   ##
==========================================
- Coverage   90.31%   90.24%   -0.07%     
==========================================
  Files          35       35              
  Lines        1775     1771       -4     
==========================================
- Hits         1603     1598       -5     
- Misses        172      173       +1

@aaronlademann-wf
Copy link
Contributor

QA +1

All tests passed in CI.

@Workiva/release-management-pp

@rmconsole5-wk rmconsole5-wk merged commit 0faf5ff into master Feb 8, 2019
@rmconsole5-wk rmconsole5-wk deleted the remove_deprecated_usages_of_getJsProps branch February 8, 2019 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants