1 package resolver 2 3 // This file will be automatically regenerated based on the schema, any resolver implementations 4 // will be copied through when generating and any unknown code will be moved to the end. 5 // Code generated by github.com/99designs/gqlgen version v0.17.45 6 7 import ( 8 "context" 9 10 "edge-infra.dev/pkg/edge/api/graph/model" 11 ) 12 13 // UIConfig is the resolver for the UIConfig field. 14 func (r *queryResolver) UIConfig(ctx context.Context) (*model.UIConfig, error) { 15 return &model.UIConfig{ 16 Issuer: r.Config.Okta.OktaIssuer, 17 ClientID: r.Config.Okta.ClientID, 18 LdKey: r.Config.LaunchDarkly.SDKKey, 19 GaTrackingID: r.Config.UI.GaTrackingID, 20 }, nil 21 } 22