Documentation ¶ Index ¶ func FieldAuthenticator(log *slog.Logger, whitelist Whitelist) handler.Option type Whitelist Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FieldAuthenticator ¶ func FieldAuthenticator(log *slog.Logger, whitelist Whitelist) handler.Option FieldAuthenticator returns a GraphQL handler option for field-level authentication Deprecated: handler.Option is deprecated in gqlgen, but kept for backward compatibility Types ¶ type Whitelist ¶ type Whitelist interface { In(id string) bool } Source Files ¶ View all Source files api.gographql.go Click to show internal directories. Click to hide internal directories.