romalytvynenko
romalytvynenko
@valpuia604 that code that you've excluded matters. First of all make sure you use the latest version. If it doesn't work, include enough code so I can reproduce.
@aashirhaq your example is not supported yet, as it is too complex: type is being built conditionally. For now, Scramble doesn't support that.
@aashirhaq Please create reproduction repository on GitHub. Otherwise, I won't be able to help.
@aashirhaq Thanks. I'm on it, but it may take some time
@arislanhaikal thanks for the reproduction repository. Indeed there was a problem in Scramble that I've fixed. But this only partially fixes the issue in the repro repository. The issue lies...
@flow96 for now the example you've provided is not inferred automatically. I'm working on bringing PHPStan-like type annotations support and then it will work with some manual types.
@arislanhaikal the fix is released in https://github.com/dedoc/scramble/releases/tag/v0.12.21 (with the caveats I've described in the comment)
Hey @kalimulhaq! Gotcha. Will fix. By the way, I can see the casing in the real API response is also different: while in the code base it is 'created_at', in...
fixed in #506
@hosni can you share the source of `channelName` method?