Project

General

Profile

Actions

Feature proposal #8703

closed

Implement typed parameters

Feature proposal #8703: Implement typed parameters

Added by krileon over 4 years ago. Updated over 2 years ago.

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

100%

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.

Updated by krileon about 3 years ago Actions #1

  • 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.

Updated by krileon about 3 years ago Actions #2

  • % Done changed from 60 to 90

Updated by krileon over 2 years ago Actions #3

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100

Updated by krileon over 2 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom