Re-introduce AdditionalFields #1367

Open
opened 2025-09-24 10:45:34 +02:00 by magicfelix · 5 comments
Member

Allow tracking custom, school-specific data

Basic Requirements:

  • Boolean
  • Multiple Choice
  • Text Field
Allow tracking custom, school-specific data Basic Requirements: - Boolean - Multiple Choice - Text Field -
Owner

Proposal:

  • Extra JSON field additional_fields with ExtensibleModel, exposed through GraphQL as own Type
  • GraphQL type (or None if no additional fields are defined for this model):
    • data → JSON scalar
    • schema → the schema
  • Model AdditionalFieldSchema:
    • content_type → OneToOneField
    • schema → valid JSON schema
  • Own field for additional fields doing all the update and rendering stuff
  • Remove superfluous data
Proposal: - Extra JSON field `additional_fields` with `ExtensibleModel`, exposed through GraphQL as own Type - GraphQL type (or `None` if no additional fields are defined for this model): - `data` → JSON scalar - `schema` → the schema - Model `AdditionalFieldSchema`: - `content_type` → OneToOneField - `schema` → valid JSON schema - Own field for additional fields doing all the update and rendering stuff - Remove superfluous data
Owner

assigned to @hansegucker

assigned to @hansegucker
Owner

changed the description

changed the description
Owner

@nik Please give your opinion on this.

@nik Please give your opinion on this.
Owner

unassigned @hansegucker

unassigned @hansegucker
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#1367
No description provided.