Skip to content

Add Condense() and SaveTo() #35

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 22 commits into from
May 21, 2022
Merged

Add Condense() and SaveTo() #35

merged 22 commits into from
May 21, 2022

Conversation

muir
Copy link
Owner

@muir muir commented May 11, 2022

SaveTo() added. Intermediate values can now be requested and written through pointers.

Collection.Condense() added -- a collection can now be turned into a single injector.
This can be done recursively. Combined with SaveTo, multiple copies of the same type
can be generated and preserved separately.

The Reflective type has been joined by new siblings: ReflectiveInvoker, ReflectiveArgs, and ReflectiveWrapper

@codecov-commenter
Copy link

codecov-commenter commented May 13, 2022

Codecov Report

Merging #35 (e6c1927) into main (bf7d347) will increase coverage by 1.13%.
The diff coverage is 83.24%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   81.85%   82.98%   +1.13%     
==========================================
  Files          17       21       +4     
  Lines        2667     2862     +195     
==========================================
+ Hits         2183     2375     +192     
+ Misses        320      316       -4     
- Partials      164      171       +7     
Impacted Files Coverage Δ
api.go 93.82% <ø> (ø)
filler_api.go 82.45% <ø> (ø)
reflective.go 69.38% <69.38%> (ø)
filler.go 67.28% <73.68%> (+4.75%) ⬆️
condense.go 76.27% <76.27%> (ø)
flows.go 82.90% <82.90%> (ø)
utils.go 84.61% <84.61%> (ø)
bind.go 86.72% <90.90%> (-1.49%) ⬇️
characterize.go 86.64% <100.00%> (+2.95%) ⬆️
generate.go 63.56% <100.00%> (+0.42%) ⬆️
... and 6 more

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 bf7d347...e6c1927. Read the comment docs.

@muir muir changed the title Add Branch() Add Condense() and SaveTo() May 21, 2022
@muir muir merged commit f09ca2b into main May 21, 2022
@muir muir deleted the branch branch May 21, 2022 05: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.

None yet

2 participants