Skip to content

🐛(models) fix groups' optional member field defaulting to null#630

Open
piptouque wants to merge 1 commit into
openfun:mainfrom
piptouque:fix_group_optional_member
Open

🐛(models) fix groups' optional member field defaulting to null#630
piptouque wants to merge 1 commit into
openfun:mainfrom
piptouque:fix_group_optional_member

Conversation

@piptouque

@piptouque piptouque commented Jun 15, 2026

Copy link
Copy Markdown

Purpose

The member field is optional in an Identified Group
Without this fix, the mbox, mbox_sha1sum etc. kinds of groups still expect a member.

Proposal

The member field of BaseXxapiIdentifiedGroup did not have a default value even though it is Optional.
This commit sets it to None, which is in line with other optional fields.

  • Added above fix
  • Added tests
  • Updated CHANGELOG.md

Without this fix, the mbox, mbox_sha1sum etc.
kinds of groups still expect a member.
@piptouque piptouque force-pushed the fix_group_optional_member branch from af72d15 to f58fbd6 Compare June 15, 2026 09: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.

1 participant