Open louismrose opened 6 months ago
This could be a breaking change due to the change in return type. (Callers will now receive an Export
when they might previously have been indexing into an array).
We could either:
Export
and other model typesWe discussed this as a team today, and we'd like to fix this properly behind a breaking change. We're going to target v3 of the SDK for this fix.
Expected Behaviour
In the following:
I expected
$export
to be of typeZamzar\Export
.Current Behaviour
$export
is of type array:Possible Solution
I think this could be due to a slight inaccuracy in the property map for
Job
. I believe this line should change:Steps to Reproduce
$export
is of typearray
Environment
zamzar-php
2.0.3