(ctx context.Context, f schema.Field)
| 130 | } |
| 131 | |
| 132 | func resolveIpWhitelisting(ctx context.Context, f schema.Field) *Resolved { |
| 133 | if _, err := x.HasWhitelistedIP(ctx); err != nil { |
| 134 | return EmptyResult(f, err) |
| 135 | } |
| 136 | return nil |
| 137 | } |
| 138 | |
| 139 | // GuardianOfTheGalaxyAuthMW4Query blocks the resolution of resolverFunc if there is no Guardian |
| 140 | // of Galaxy auth present in context, otherwise it lets the resolverFunc resolve the query. |
no test coverage detected