-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
More fullstack fixes #4737
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
More fullstack fixes #4737
Conversation
|
Hi @jkelleyrtp I had a running and working fullstack app, but after i pull the latest ( ##4596) i started having the deprecation issues with server_fn macro #[server] use of deprecated unit struct
The deprecation warning is not clear to me. Please is there any docs that speaks to this ? |
In this case you can just remove the |
Thanks for your swift response. I tried implementing your recommendation of either using #[post("/api/endpoint")] or just #[server]. Using the new syntax for route definition #[server] or #[post("/api/get-countries")] or #[get("/api/get-countries")]
|
|
At the end, i was able to figure out the fix, and it was just a smart move to remove the #[server] or any form of "server fn" macros outrightly. E.g Thanks for making it easier for us to build software solutions. |





Follow up to #4596
--serveronly builds!/:paramsyntax for old router parser