Server Functions cannot be nested in other blocks or functions
I just tried to upgrade to SolidStart 1.1.x.
I started getting the
I read this post by @Atila .
@Atila you said: "I'm still working on a better DX, either to migrate or to add code-extraction to the plugin."
Does that mean my code should eventually work again? Afterall,
I'm not trying to complain, I'm just trying to save myself two refactors if possible.
If my code as written will eventually work again, I'll skip this update and wail until
Thanks,
Chris
I started getting the
Server Functions cannot be nested in other blocks or functions everywhere. I read this post by @Atila .
@Atila you said: "I'm still working on a better DX, either to migrate or to add code-extraction to the plugin."
Does that mean my code should eventually work again? Afterall,
"use server" was designed to let you to nest server functions, right?I'm not trying to complain, I'm just trying to save myself two refactors if possible.
If my code as written will eventually work again, I'll skip this update and wail until
"use server" works again.Thanks,
Chris
GitHub![[Bug?]: (v1.1.0) Unable to inline server functions in components ยท...](https://images-ext-1.discordapp.net/external/8I0GzGliCcyyBX7VIe8ed4V0oesktKALci-CC1vK9cA/https/opengraph.githubassets.com/e2dc21593c28877a7243f0fc06e7a21348f53d0023d8a46aea1364588b3a037d/solidjs/solid-start/issues/1816)
Duplicates I have searched the existing issues Latest version I have tested the latest version Current behavior
Previously we were able to inline server functions directly in components. Since v1...
