adonis-graphql icon indicating copy to clipboard operation
adonis-graphql copied to clipboard

Security questions.

Open popovicieduard opened this issue 4 years ago • 0 comments

I've been developing an app with this package but recently I started reading more about graphql security and so on, I was wondering if there is a way to use https://github.com/stems/graphql-depth-limit for example, and are there any tips or advice that you can give me on this matter ?

Or code examples for directives for example, because as of now, Adonis doesn't allow using middleware in controllers like Laravel: https://laravel.com/docs/5.5/controllers#controller-middleware and the only way to validate requests and data with graphql that I tought of is done inside the controller.

Thank you in advance, Great work on this package.

popovicieduard avatar Mar 23 '20 16:03 popovicieduard