Skip to content

Feature - Props API Improvements#14

Closed
Smithor wants to merge 1 commit into
reportmill:masterfrom
Smithor:feature-props_api
Closed

Feature - Props API Improvements#14
Smithor wants to merge 1 commit into
reportmill:masterfrom
Smithor:feature-props_api

Conversation

@Smithor
Copy link
Copy Markdown
Contributor

@Smithor Smithor commented May 26, 2026

A collection of API improvements working through the props package. Might include documentation, method contracts, or anything else related. Issues raised as part of this pull request will be blockers, and their solution commits will be appended when resolved.

Blockers:

@reportmill
Copy link
Copy Markdown
Owner

reportmill commented May 27, 2026

This submission makes a good point - using varargs for key/values is potentially error prone and bad form. With a map param it would be better defined and could still be called with setPropValues(Map.of(key, val, ...)).

I noticed that I don't use that method anywhere though, so I think the best course of action is just to remove it (which I did). It can easily be replicated with: valuesMap.forEach(propObj::setPropValue).

@reportmill reportmill closed this May 27, 2026
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.

2 participants