playframework / playframework/twirl
Why was Html.empty moved to HtmlFormat.empty?
Open
Nobody has claimed this yet.
status:backlog
- Dominant language
- Scala
- Stars
- 561
- Forks
- 118
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 29
Description
I don't see the reasoning here, and it's awkward to have foo: Html = HtmlFormat.empty -- can there at least be an alias?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Html.empty and HtmlFormat.empty entry points in the Twirl source and tests, and identify when the move occurred. Done means clarifying the rationale for the change and determining whether a compatibility alias is needed, with the expected behavior covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100