-
Notifications
You must be signed in to change notification settings - Fork 221
Added IsPublic support to InputObject #1108
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
Hi @vladdnepr |
I did access control for admin area via public feature. I need to control inputs, queries, mutations and types. Frontend received schema and can recognize what enabled and what not. Queries, mutations and types supports IsPublic, but inputs not |
@vladdnepr Ok, I see the use case. |
I will check it soon.... |
@vladdnepr Ok great! Can you add a bunch of tests? Thank again! |
What tests are you expected?
I did change in private method, which called with another private inputMetadataToGQLConfiguration, which called with private classMetadatasToGQLConfiguration, which called with processFile
I do not see any tests for this file |
@Vincz up |
Hi @vladdnepr! The tests are now running and I updated your PR on the latest changes. |
Sorry, but now I don't have free time for this issue, maybe later I will add tests. Maybe we release this issue later in another release? |
Added IsPublic support to InputObject
Tested locally, works fine