wpdreams / ajax-search-pro-development

Issues and dev tracking repository for Ajax Search Pro for WordPress plugin
0 stars 0 forks source link

Query Arguments array should be converted to a type safe object #124

Closed ernestmarcinko closed 1 month ago

ernestmarcinko commented 1 month ago

Sor far the query arguments had been passed as an array, which lacks any type safety from development standpoint. This is passed to the asp_query_args hook.

A new data model should be introduced for this, which implements the ArrayAccess interface in a way, that the properties still can be accessed and modified as array elements.