fgabolde/Zabbix-API

Return Item Instances when calling $graph->items

seuf opened this issue · 1 comments

seuf commented

The function items of Zabbix::API::Graph package does not return an Item Object instance

Maps as well return raw data instead of objects when their host() method is called. This is common to all mutators in the API. Accessors seem to do The Right Thing. I will fix this when I get the time.

Note that this will mean more requests to the API everytime you call $graph->items.