Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there possibility to filter types/services that should be generated in GraphQL? #9

Closed
mkorolyov opened this issue Oct 16, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@mkorolyov
Copy link

Hi, what if I need to filter declared Proto types and services for GraphQL? is it possible at the moment? If not will you accept PR with some tagging of needed types/services or another way marking what need to be generated?
thanks!

@danielvladco
Copy link
Owner

Hi @mkorolyov, at the moment it is not possible. Yes I will accept a PR if you are willing to implement it yourself.

@mnkg561
Copy link

mnkg561 commented Apr 20, 2020

@mkorolyov @danielvladco I'm curious if you are able to find any workaround. i want to exclude some fields in the message (something like using tag [(gql.field) = {exclude: true}] which can exclude certain fields or types from graphQL generation process)

@mkorolyov
Copy link
Author

@mnkg561 Hey, i'm not using this generation at the moment but will definitely add PR with exclusion flags later, have some leak of time at the moment :)

@danielvladco
Copy link
Owner

Added ignore option to fields, services and fields in version v0.8.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants