Skip to content

feat(FormModel): allow scalars where collections are expected #163

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 1 commit into from
Apr 1, 2025

Conversation

MHajoha
Copy link
Member

@MHajoha MHajoha commented Mar 31, 2025

@MHajoha MHajoha requested review from MartinGauk and janbritz March 31, 2025 16:16
Copy link
Contributor

@janbritz janbritz left a comment

Choose a reason for hiding this comment

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

Danke sehr!

@MHajoha MHajoha force-pushed the FormModel-list-accept-single-value branch from ccabebd to daf491f Compare April 1, 2025 10:25
Makes it easier on the LMS-side, since it needn't know which fields can produce multiple values.

See: questionpy-org/moodle-qtype_questionpy#149 (comment)
@MHajoha MHajoha merged commit 2b37683 into dev Apr 1, 2025
7 checks passed
@MHajoha MHajoha deleted the FormModel-list-accept-single-value branch April 1, 2025 12:01
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