database-types
database-types copied to clipboard
Add MongoDB support
hi,
it would be nice to have support for mongodb. (in core or via a dedicated plugin) is this architecture already supporting plugins? if not you should define an interface to be implemented by plugins and leave the core agnostic to the db driver being used.
this could help https://github.com/graphql-community/create-graphql/blob/master/packages/generator/src/utils.js#L271
if not you should define an interface to be implemented by plugins and leave the core agnostic to the db driver being used.
I am going to break this module into at least two modules. One for fetching database schema and second to generate types.
cool! 🔥
i'm going to create a dedicated issue for separating the core.