AEB-labs / cruddl

Create a GraphQL API for your database, using the GraphQL SDL to model your schema.
https://aeb-labs.github.io/cruddl/
MIT License
131 stars 17 forks source link

Decorators for code first implementations. #299

Open Campbellds1991 opened 1 year ago

Campbellds1991 commented 1 year ago

Nestjs has a really good graphql resolver system and I think this would be a great extension of that with the ability to map the relationships of Arango graphs.

What i'm asking for:
Creation of decorators for @unique, @rootEntity, @references, etc...

Extended ask: Can a plugin for the @nestjs/graphql package be made? This would make an amazing pairing.

Yogu commented 1 year ago

Thank you for your suggestions. There are currently no plans for cruddl to have such features in the core project. I think both suggestions would best be implemented with separate packages / projects that use cruddl.