Skip to content

Make IChatRequestVariableEntry more OOP like #249519

Open
@jrieken

Description

@jrieken

Follow-up from #249469

The IChatRequestVariableEntry type (and all its variants) has grown into a shape that needs cleanup. Today, it's open data and util-function. We should use OOP instead, give them some common shape and work on better encapsulation.

For instance,

  • there should be toJSON and fromJSON logic so that IPC and persistence is covered
  • concrete subtypes should narrow down the type of value
  • we should revisit all places that consume value

Metadata

Metadata

Labels

chatdebtCode quality issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions