Add excluded field to cookie pattern GraphQL schema
Expose excluded on the CookiePattern type and accept it as an optional input on UpdateCookiePatternInput so the console can toggle pattern exclusion inline. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -801,6 +801,7 @@ func (r *mutationResolver) UpdateCookiePattern(ctx context.Context, input types.
|
||||
DisplayName: input.DisplayName,
|
||||
MaxAgeSeconds: gqlutils.UnwrapOmittable(input.MaxAgeSeconds),
|
||||
Description: input.Description,
|
||||
Excluded: input.Excluded,
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user