Project

General

Profile

Actions

Feature proposal #8703

open

Implement typed parameters

Added by krileon over 1 year ago. Updated 4 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
09 September 2021
Due date:
% Done:

90%

Estimated time:

Description

Currently parameters are just a generic Registry object. This requires using generic getters and setters that are not default value aware. Implement classes that extend Registry and add typed getters and setters.

Current:
$row->getParams()->getString( 'place', '' )

New:
$row->getParams()->getPlace()

This allows strict typing and to place the default value directly in getPlace so it never has to be assumed. getParams would return our table object specific Registry.

Actions #1

Updated by krileon 4 months ago

  • Target version changed from 7.0.0 to 6.0.0
  • % Done changed from 0 to 60

Implemented for global params, stream, and notification params thus far. Needs also implemented for actual objects like an activity object for known params.

Actions #2

Updated by krileon 4 months ago

  • % Done changed from 60 to 90
Actions

Also available in: Atom PDF