Improvement: extra constructor for DemoMetaData

Open Beginner friendly
#2,652 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java

Research direction

Locate the DemoMetaData class and inspect its existing constructors and the DemoDataConfigEntry configuration type. Add an overload for the common case where the config list is empty, then verify callers can create DemoMetaData without explicitly passing List.of().

Written by the indexing model from the issue text.

Description

process/needs triage

Qiute often, the List<DemoDataConfigEntry> config is empty, could be nice to add an extra constructor to not force users to add List.of()).

Triggered by: https://github.com/TimefoldAI/timefold-quickstarts/pull/1192#discussion_r3965273716

Dominant language
Java
Stars
1.8k
Forks
228
Avg merge
1d 13h
Merged PRs (30d)
46

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TimefoldAI/timefold-solver

All issues in TimefoldAI/timefold-solver

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.