Is it possible to hide and show a field from typeDefs schema based on authorization permission apollo-server side.
e,g type User {
id: String
name: String
somethingSecret: String
}
here I want “somethingSecret” field to be get populated only if logged in user has permission/serviceEntitlementCode otherwise somethingSecret field should be empty string or null.