Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That sounds awesome and also a huge headache. I've found its much easier to work with an ORM that is specifically designed for GraphQL, like TypeORM[1]. Otherwise you are just kind of trying to force a square peg in round hole (like Graphene[2] for Django). As for not exposing some data, just use "private" schema directives, etc.

[1] https://github.com/typeorm/typeorm [2] https://github.com/graphql-python/graphene



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: