Skip to content

Documented and Typed fields.value #96

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

Merged
merged 1 commit into from
Jul 11, 2019
Merged

Documented and Typed fields.value #96

merged 1 commit into from
Jul 11, 2019

Conversation

erikras
Copy link
Member

@erikras erikras commented Jul 11, 2019

Since the hooks rewrite, fields.value has been present, but it was undocumented and untyped. This PR remedies that.

It's a shame that there's no good way to force it to be readonly/immutable. I guess we'll just have to hope devs are smart enough to not try to use fields.push() rather than fields.value.push().

Fixes #95. Fixes #13.

@codecov
Copy link

codecov bot commented Jul 11, 2019

Codecov Report

Merging #96 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #96   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           6      6           
  Lines          57     57           
  Branches       10     10           
=====================================
  Hits           57     57

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 71e8da3...9d7c05e. Read the comment docs.

@erikras erikras merged commit b826e98 into master Jul 11, 2019
@erikras erikras deleted the document-fields.value branch July 11, 2019 13:30
@erikras
Copy link
Member Author

erikras commented Aug 15, 2019

Published in v3.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant