Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResellerApi::getChildDomains is unusable (always return empty array) #231

Closed
johndodev opened this issue Aug 12, 2022 · 1 comment
Closed

Comments

@johndodev
Copy link

Hi,

In addition to a php 8 compatibility error referenced in #147,
the function will always return an empty and fresh new instance of class SendinBlue\Client\Model\GetChildDomains.

I checked the code, the guzzle response is ok, contains data.

  • The code go to ObjectSerializer::deserialize (Reseller API line 2441).
  • new instance of GetChildDomains is created on ObjectSerializer line 306.
  • The code make a foreach on $instance::swaggerTypes(), but GetChildDomains::swaggerTypes() will always return an empty array.

So the returned instance of GetChildDomains is never hydrated.

I understand you use a code generator, but it would be nice to fix your swagger def.

@preetishishodia7
Copy link
Contributor

Hi @johndodev
We really appreciate your findings we will look into it.

@johndodev johndodev closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants