11 lines
740 B
Markdown
11 lines
740 B
Markdown
# Tasks: Support Organization Members
|
|||
|
|
|
||
|
|
- [x] Create database migration to add `member_type` and `company_name` and make `first_name` nullable <!-- id: 0 -->
|
||
|
|
- [x] Update SQLAlchemy `Member` model with new fields and validation logic <!-- id: 1 -->
|
||
|
|
- [x] Update Pydantic schemas / GraphQL inputs to support new fields (`memberType`, `companyName`) <!-- id: 2 -->
|
||
|
|
- [x] Update `createMember` and `updateMember` resolvers with conditional validation <!-- id: 3 -->
|
||
|
|
- [x] Update tests to cover new scenarios (organization creation, validation rules) <!-- id: 4 -->
|
||
|
|
- [x] Verify backward compatibility for existing individual members <!-- id: 5 -->
|
||
|
|
|
||
|
|
**Note**: Using `memberType` field name (not `kind`) to avoid GraphQL introspection conflicts.
|