Oyelowo / surreal-orm

Powerful & expressive ORM/query-builder/static checker for raw queries/Fully Automated migration tooling , designed to offer an intuitive API, strict type-checking, novel features, & full specification support. It provides a fresh perspective in data management. Currently supports SurrealDB engine. RDMSs(PG, MYSQL etc) and others coming soon
85 stars 2 forks source link

Usage with `async_graphql` #57

Open zeyaddeeb opened 8 months ago

zeyaddeeb commented 8 months ago

I'm trying to use in conjunction with async_graphql is there a good way to use FieldTypeDerived for SurrealUuid?

OutputType` is not satisfied
label: the trait `OutputType` is not implemented

something like DeriveEntityModel in sea_orm

Oyelowo commented 8 months ago

@zeyaddeeb Thanks for reporting this. I haven't yet tested this with async_graphql but I have plans to do so and include it as part of the examples soon.

Are you using surreal_orm already? How have you found it> I haven't yet published it but will be doing that in the coming weeks. Likely next week for alpha.

I'll look into this and fix once I have a couple of things in this week

zeyaddeeb commented 8 months ago

I'm adding it directly from github since the remote crate is not really working. I think the builder semantic Idoms behind LinkMany and LinkOne saved me a bunch of time of writing it myself. Great work!