sandros94 / nuxt-surrealdb

A Nuxt module aimed to simplify the use of SurrealDB.
https://nuxt-surrealdb.s94.dev/
MIT License
22 stars 1 forks source link

fix: improve useSurrealRPC output type when using transforms #3

Closed sandros94 closed 3 months ago

sandros94 commented 3 months ago

Currently I'm forcing a RpcResponseOk and RpcResponseError to handle types. But if someone uses a transform their types will be messed up.

(previously #1)

sandros94 commented 3 months ago

This was mainly achieved with https://github.com/Sandros94/nuxt-surrealdb/commit/312fd93ed0f1f823fd7bb16d0a09b32e13ae99dc

Will reopen if a better idea comes up