Open sandros94 opened 3 months ago
hijacking this issue to track module's roadmap
Can you make it Nuxt v3 compatible please? 🙏 Module site states that its not yet https://nuxt.com/modules/SurrealDB#nuxt-surrealdb
Can you make it Nuxt v3 compatible please? 🙏 Module site states that its not yet https://nuxt.com/modules/SurrealDB#nuxt-surrealdb
That was actually a bug and fixed with nuxt/modules#980 PR.
The minimum version compatible is currently 3.10
Thank you for you great work :) it's really amazing ☺️ Just one question please ! Are you using the Surrealdb JS SDK ? A great repo for reference : https://github.com/dvanmali/surrealdb-nuxt-starter
Thank you for you great work :) it's really amazing ☺️
Thank you 🙏
[...] Are you using the Surrealdb JS SDK ?
No, currently I'm not. The main reason being that I'm more focused on environment support, to maximize the module's usability in any production env supported by Nuxt itself. This might change in the future, but it will depend on a number of factor such as surrealdb/surrealdb.js#251.
A great repo for reference : https://github.com/dvanmali/surrealdb-nuxt-starter
Indeed, the SDK is so simple to use that just wrapping it in a module didn't seem to provide any added functionalities compared to directly using it in a project. I'm also considering changing some of my current params to be more inline with the SDK ones
Thank you for the great work you're offering it is really promissing and i'll give it a try in a project right away... Just some ideas if you don't mind as i've noticed that you're using vueuse/useWebsocket and there is unjs/crossws (from Pooya) the Nitro maker i think it's already builtin in Nitro ? It's Just a Thought Btw ☺️
crossws is a platform agnostic websocket server, while vueuse/useWebsocket is a reactive websocket client 😁
Thank you for you great work :) it's really amazing ☺️ Just one question please ! Are you using the Surrealdb JS SDK ? A great repo for reference : https://github.com/dvanmali/surrealdb-nuxt-starter
I already tried the Surrealdb JS SDK
and I'm not that convinced. I think this new implementation for Nuxt can be a better approach.
I already tried the Surrealdb JS SDK and I'm not that convinced
Keep in mind that the JS SDK is still under active development and not officially finalized, so anything could change. Not to mention that their approach is to support everyone (framework and non) with a single SDK.
What made me choose to start working on this module was to have a tighter implementation for Nuxt itself. Yes this means almost double the work, but the final outcome is to be able to have Nuxt-specific features that may not be implementable into the SDK itself
My current approach is to follow as close as possible the RPC endpoint API, the same used by the JS SDK. So the feature-set should be pretty similar
Surreal v2 is almost at stable release, it would be great if we can implement the missing pieces with the new auth and be ready to go, atleast in next
branch.
Surreal v2 is almost at stable release, it would be great if we can implement the missing pieces with the new auth and be ready to go, atleast in
next
branch.
Indeed. I still haven't tested v2 myself, but I already added some of the required changes
Roadmap
support official SurrealDB Rest integration.Discarded in favor ofRPC
. Can still be manually used via$surrealFetch
anduseSurrealFetch
.Experiment with SurrealDB 2.0 alpha