dedoc / scramble

Modern Laravel OpenAPI (Swagger) documentation generator. No PHPDoc annotations required.
https://scramble.dedoc.co/
MIT License
1.13k stars 106 forks source link

Error on v0.10.1 #369

Closed rcerljenko closed 3 months ago

rcerljenko commented 3 months ago

With new update this happens when trying to cache routes:

image

xHeaven commented 3 months ago

Same here, this issue appeared in v0.10.0. Something like this also happened in Livewire a while ago. Maybe their PR can help the devs of this package to fix this issue, so I'm just leaving it here: https://github.com/livewire/livewire/pull/6008

lloricode commented 3 months ago

same here on my forge deployment

Cannot assign Laravel\SerializableClosure\Serializers\Native to property De  
  doc\Scramble\GeneratorConfig::$routeResolver of type ?Closure 

Screenshot from 2024-05-15 17-23-13

romalytvynenko commented 3 months ago

@rcerljenko @lloricode @xHeaven

Fixing the issue...

romalytvynenko commented 3 months ago

@rcerljenko @lloricode @xHeaven

Should be fixed in 0.10.2!

romalytvynenko commented 3 months ago

@rcerljenko @lloricode @xHeaven

You are awesome! Thanks for letting me know!

rcerljenko commented 3 months ago

thanks!

lloricode commented 3 months ago

@rcerljenko @lloricode @xHeaven

You are awesome! Thanks for letting me know!

Thank you for the quick response and fixes 💯

rcerljenko commented 3 months ago

unfortunately it still doesn't work for me.. same error :(

xHeaven commented 3 months ago

I'm still experiencing the same @romalytvynenko.

lloricode commented 3 months ago

same as mine

 Cannot assign Laravel\SerializableClosure\Serializers\Native to property Dedoc\Scramble\GeneratorConfig::$afterOpenApiGenerated of type ?Closure
romalytvynenko commented 3 months ago

@rcerljenko @lloricode @xHeaven

Gosh... Sorry for that. Fixing

rcerljenko commented 3 months ago

no problem :)

https://www.youtube.com/watch?v=3KDnrGdpNZY

romalytvynenko commented 3 months ago

@rcerljenko @lloricode @xHeaven

Can you please check v0.10.3?

rcerljenko commented 3 months ago

WORKS! :)))

romalytvynenko commented 3 months ago

Closing the issue. Will re-open as many times as needed 🥸

lloricode commented 3 months ago

@rcerljenko @lloricode @xHeaven

Can you please check v0.10.3?

Will be right back as soon, i just have doing grocery 😁

lloricode commented 3 months ago

it works! :rocket:

Screenshot from 2024-05-15 19-34-11

my api docs demo https://ecommerce.lloricode.com/docs/api can I see yours? :D

lloricode commented 3 months ago

@romalytvynenko thanks again for the quick fix :100: :rocket: