Skip to content

Conversation

@rafaqz
Copy link
Member

@rafaqz rafaqz commented Jan 10, 2021

Adds a getproperties method, primarily to handle construction of objects with undefined fields, but also more broadly useful for getting object fields as a NamedTuple. See #36.

@rafaqz rafaqz requested review from jw3126 and tkf January 10, 2021 11:20
@codecov-io
Copy link

codecov-io commented Jan 10, 2021

Codecov Report

Merging #37 (b22e94b) into master (8f64889) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           32        38    +6     
=========================================
+ Hits            32        38    +6     
Impacted Files Coverage Δ
src/ConstructionBase.jl 100.00% <100.00%> (ø)

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 8f64889...b22e94b. Read the comment docs.

@rafaqz
Copy link
Member Author

rafaqz commented Jan 29, 2021

Anyone have time to review this?

I need to resolve this to get #36 finished, and would like to avoid pirating those methods in other packages in the meantime

@jw3126
Copy link
Member

jw3126 commented Jan 29, 2021

Sorry for the late review. I wrote these comments weeks ago, but forgot to hit the submit button.

@rafaqz rafaqz force-pushed the getproperties branch 3 times, most recently from 9560db4 to b22e94b Compare February 7, 2021 02:06
Copy link
Member

@jw3126 jw3126 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@rafaqz rafaqz merged commit 60cfb38 into JuliaObjects:master Feb 8, 2021
@rafaqz rafaqz deleted the getproperties branch February 8, 2021 16:10
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.

3 participants