Nitro: RangeError: Maximum call stack size exceeded
gtokman opened this issue · 5 comments
gtokman commented
Description
I upgraded to 0.0.6 for nitro, and I'm seeing when running yarn run nitro-codegen
in our spec.
⚙️ Generating specs for HybridObject "Send"...
❌ Failed to generate spec for Send! RangeError: Maximum call stack size exceeded
❌ No specs found in Send.nitro.ts!
mrousavy commented
Can you please create a simply reproduction?
gtokman commented
I'm having trouble reproducing it. Here's a video of me getting the error on 0.6.0 after adding the Send
prefix to a model.
https://github.com/user-attachments/assets/7a3dc39e-9672-44f7-a238-c963a46c0ea8
mrousavy commented
Is there another type called SendRequest
?
mrousavy commented
Can you work around this issue for now by just avoiding the Send
prefix?
Then I'll consider it low priority and focus on other things until the release.
gtokman commented
Yeah, it's not a blocker. I can't reliably reproduce it either 😅