From f3e2a99628e46ac65c016017466db2703152cd36 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Wed, 9 Sep 2026 23:07:14 +0100 Subject: [PATCH 01/12] create program if selected --- .task/checksum/generate-ent-smart | 2 +- cli/go.mod | 11 +- cli/go.sum | 21 +-- common/go.mod | 10 +- common/go.sum | 18 +-- internal/ent/entityops/entity_registry.go | 2 +- internal/ent/hooks/listeners_task_rules.go | 56 +------ .../ent/hooks/listeners_task_rules_test.go | 106 ++++++++++---- internal/ent/hooks/onboarding.go | 6 +- internal/ent/hooks/onboarding_program.go | 138 ++++++++++++++++++ internal/ent/hooks/onboarding_test.go | 97 +++++++++++- internal/ent/taskrules/onboarding.go | 6 - .../ent/taskrules/templates/onboarding.yaml | 10 -- .../checksum/.history_schema_checksum | 2 +- 14 files changed, 345 insertions(+), 140 deletions(-) create mode 100644 internal/ent/hooks/onboarding_program.go diff --git a/.task/checksum/generate-ent-smart b/.task/checksum/generate-ent-smart index 339e8697ab..9b687ae85d 100644 --- a/.task/checksum/generate-ent-smart +++ b/.task/checksum/generate-ent-smart @@ -1 +1 @@ -c89c7e7c9a937583a194a2c8d524ccfb +6d449fe0a221fc086960d7c64d3c5254 diff --git a/cli/go.mod b/cli/go.mod index 2e19180aae..5ea149bf5a 100644 --- a/cli/go.mod +++ b/cli/go.mod @@ -19,7 +19,7 @@ require ( github.com/spf13/cobra v1.10.2 github.com/theopenlane/core/common v1.1.0 github.com/theopenlane/core/v2 v2.4.2 - github.com/theopenlane/go-client v0.13.1 + github.com/theopenlane/go-client v0.14.0 github.com/theopenlane/httpsling v0.3.0 github.com/theopenlane/iam v0.38.1 github.com/theopenlane/utils v0.7.1 @@ -90,15 +90,16 @@ require ( github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fastjson v1.6.10 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect - github.com/vektah/gqlparser/v2 v2.5.36 // indirect + github.com/vektah/gqlparser/v2 v2.5.37 // indirect github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/x448/float16 v0.8.4 // indirect github.com/zalando/go-keyring v0.2.8 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel v1.45.0 // indirect - go.opentelemetry.io/otel/metric v1.45.0 // indirect - go.opentelemetry.io/otel/trace v1.45.0 // indirect + go.opentelemetry.io/otel v1.46.0 // indirect + go.opentelemetry.io/otel/metric v1.46.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.46.0 // indirect + go.opentelemetry.io/otel/trace v1.46.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.yaml.in/yaml/v3 v3.0.5 // indirect golang.org/x/crypto v0.55.0 // indirect diff --git a/cli/go.sum b/cli/go.sum index 5f1734c638..172c9d4426 100644 --- a/cli/go.sum +++ b/cli/go.sum @@ -199,8 +199,7 @@ github.com/theopenlane/core/v2 v2.4.2 h1:Q1lqUtce6KmysTNc/c6ojBdZ/hyoX3H+Ft0OZri github.com/theopenlane/core/v2 v2.4.2/go.mod h1:raAqG7NnNLrXTmXFUTY2vxdklgNGDMVhmXtGCxy/jzQ= github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA= github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM= -github.com/theopenlane/go-client v0.13.1 h1:9n/LCMRqWn/dGxkM9dNpeVbh7MwF2GCACmvjraMJvxE= -github.com/theopenlane/go-client v0.13.1/go.mod h1:g5i+gYjkih1SSgY/lFi4p302cLZBOJ8pgCFf02eZKaI= +github.com/theopenlane/go-client v0.14.0 h1:NFU8fUZlS9VUGSTP64G2DbM3K4z9P1Ki4fJDwvwXXFI= github.com/theopenlane/httpsling v0.3.0 h1:Bad0dGdqCqAB8UVDyVo+YCevzRvGHhmkK22F7T3pXtY= github.com/theopenlane/httpsling v0.3.0/go.mod h1:iJc3XRLYTFIpfCnPpLZVMBP0xsWIPAb7ozARtQoclAE= github.com/theopenlane/iam v0.38.1 h1:QOTaqSGz8y9yorkzTYZzYvaqD04iIWiTcAg8fsujfTc= @@ -215,8 +214,7 @@ github.com/valyala/fastjson v1.6.10 h1:/yjJg8jaVQdYR3arGxPE2X5z89xrlhS0eGXdv+ADT github.com/valyala/fastjson v1.6.10/go.mod h1:e6FubmQouUNP73jtMLmcbxS6ydWIpOfhz34TSfO3JaE= github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/vektah/gqlparser/v2 v2.5.36 h1:CN9mKVHgMkc+XftdOWIhb4HEL8wKSYkFAqhf8booa7s= -github.com/vektah/gqlparser/v2 v2.5.36/go.mod h1:cAJ9qwVgPaUkWv6Gn8vn0mqOE0Ui5Pn56wNy5396XWo= +github.com/vektah/gqlparser/v2 v2.5.37 h1:jbb1Ilv+xBklV6653tKb4oVUupPNTLb5LmrnBKVI12Y= github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= @@ -231,16 +229,11 @@ github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs= github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.45.0 h1:pdrWmLHofpubmArBv1LgFSv1Z0Ie/ppdZzu+kUN5EeU= -go.opentelemetry.io/otel v1.45.0/go.mod h1:XZxIqPapzEYnhNSScF5DIqXhm/rYi0FzCe2XddAwZfQ= -go.opentelemetry.io/otel/metric v1.45.0 h1:7Eg1uH7CJ5cXv9is6tnBe1FI6rj1nwUdbFypRm3br/M= -go.opentelemetry.io/otel/metric v1.45.0/go.mod h1:HAPbm1nd3p1PmFH7v2dR+6BjXxw+Lq4a2+pndMAm08s= -go.opentelemetry.io/otel/sdk v1.45.0 h1:4VVSMgQ83dUgW2aoX5f6JgLvHwIvzcuLnF9lUdCSpCw= -go.opentelemetry.io/otel/sdk v1.45.0/go.mod h1:Sr40LgXV7DsKMMJMKOhUWOgMWTfAaqvm2kF0g7ilwuA= -go.opentelemetry.io/otel/sdk/metric v1.45.0 h1:oVFszMfyj1Am6s24Vtc7wBb8BKLcwepJjNEYILuiE3o= -go.opentelemetry.io/otel/sdk/metric v1.45.0/go.mod h1:vUWUxDZvu1WVRj8JA8S0AdhsPrZoDpA2DdZauIh4mDA= -go.opentelemetry.io/otel/trace v1.45.0 h1:l/mP6Uv7oNO7/TblbhpbgMidxhq1uO/rPsikOyVhxag= -go.opentelemetry.io/otel/trace v1.45.0/go.mod h1:qoJJA2xNMnxRrdISU/kLtfUH2wNeQbiv+jhs/CxI8bc= +go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc= +go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8= +go.opentelemetry.io/otel/sdk v1.46.0 h1:h5CNQQjEbuQXY/JfZtgt3i7HVFV3aHPO2OAwO2eTYPI= +go.opentelemetry.io/otel/sdk/metric v1.46.0 h1:0piZ26EG4RBfebb2jhDH6ERCYHoVWduc3kLgPCwSnSE= +go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y= diff --git a/common/go.mod b/common/go.mod index e308de464e..0e187d7d65 100644 --- a/common/go.mod +++ b/common/go.mod @@ -66,7 +66,7 @@ require ( github.com/tidwall/pretty v1.2.1 // indirect github.com/tidwall/sjson v1.2.5 // indirect github.com/tinylib/msgp v1.6.4 // indirect - github.com/vektah/gqlparser/v2 v2.5.36 // indirect + github.com/vektah/gqlparser/v2 v2.5.37 // indirect github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/x448/float16 v0.8.4 // indirect @@ -74,9 +74,11 @@ require ( github.com/zclconf/go-cty-yaml v1.2.0 // indirect github.com/zitadel/schema v1.3.2 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel v1.45.0 // indirect - go.opentelemetry.io/otel/metric v1.45.0 // indirect - go.opentelemetry.io/otel/trace v1.45.0 // indirect + go.opentelemetry.io/otel v1.46.0 // indirect + go.opentelemetry.io/otel/metric v1.46.0 // indirect + go.opentelemetry.io/otel/sdk v1.46.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.46.0 // indirect + go.opentelemetry.io/otel/trace v1.46.0 // indirect go.yaml.in/yaml/v3 v3.0.5 // indirect golang.org/x/crypto v0.55.0 // indirect golang.org/x/exp v0.0.0-20260820142414-ca536658362e // indirect diff --git a/common/go.sum b/common/go.sum index c3ab61ffee..744d11649e 100644 --- a/common/go.sum +++ b/common/go.sum @@ -165,8 +165,7 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= github.com/tinylib/msgp v1.6.4 h1:mOwYbyYDLPj35mkA2BjjYejgJk9BuHxDdvRnb6v2ZcQ= github.com/tinylib/msgp v1.6.4/go.mod h1:RSp0LW9oSxFut3KzESt5Voq4GVWyS+PSulT77roAqEA= -github.com/vektah/gqlparser/v2 v2.5.36 h1:CN9mKVHgMkc+XftdOWIhb4HEL8wKSYkFAqhf8booa7s= -github.com/vektah/gqlparser/v2 v2.5.36/go.mod h1:cAJ9qwVgPaUkWv6Gn8vn0mqOE0Ui5Pn56wNy5396XWo= +github.com/vektah/gqlparser/v2 v2.5.37 h1:jbb1Ilv+xBklV6653tKb4oVUupPNTLb5LmrnBKVI12Y= github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= @@ -185,16 +184,11 @@ github.com/zitadel/schema v1.3.2 h1:gfJvt7dOMfTmxzhscZ9KkapKo3Nei3B6cAxjav+lyjI= github.com/zitadel/schema v1.3.2/go.mod h1:IZmdfF9Wu62Zu6tJJTH3UsArevs3Y4smfJIj3L8fzxw= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.45.0 h1:pdrWmLHofpubmArBv1LgFSv1Z0Ie/ppdZzu+kUN5EeU= -go.opentelemetry.io/otel v1.45.0/go.mod h1:XZxIqPapzEYnhNSScF5DIqXhm/rYi0FzCe2XddAwZfQ= -go.opentelemetry.io/otel/metric v1.45.0 h1:7Eg1uH7CJ5cXv9is6tnBe1FI6rj1nwUdbFypRm3br/M= -go.opentelemetry.io/otel/metric v1.45.0/go.mod h1:HAPbm1nd3p1PmFH7v2dR+6BjXxw+Lq4a2+pndMAm08s= -go.opentelemetry.io/otel/sdk v1.45.0 h1:4VVSMgQ83dUgW2aoX5f6JgLvHwIvzcuLnF9lUdCSpCw= -go.opentelemetry.io/otel/sdk v1.45.0/go.mod h1:Sr40LgXV7DsKMMJMKOhUWOgMWTfAaqvm2kF0g7ilwuA= -go.opentelemetry.io/otel/sdk/metric v1.45.0 h1:oVFszMfyj1Am6s24Vtc7wBb8BKLcwepJjNEYILuiE3o= -go.opentelemetry.io/otel/sdk/metric v1.45.0/go.mod h1:vUWUxDZvu1WVRj8JA8S0AdhsPrZoDpA2DdZauIh4mDA= -go.opentelemetry.io/otel/trace v1.45.0 h1:l/mP6Uv7oNO7/TblbhpbgMidxhq1uO/rPsikOyVhxag= -go.opentelemetry.io/otel/trace v1.45.0/go.mod h1:qoJJA2xNMnxRrdISU/kLtfUH2wNeQbiv+jhs/CxI8bc= +go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc= +go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8= +go.opentelemetry.io/otel/sdk v1.46.0 h1:h5CNQQjEbuQXY/JfZtgt3i7HVFV3aHPO2OAwO2eTYPI= +go.opentelemetry.io/otel/sdk/metric v1.46.0 h1:0piZ26EG4RBfebb2jhDH6ERCYHoVWduc3kLgPCwSnSE= +go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y= diff --git a/internal/ent/entityops/entity_registry.go b/internal/ent/entityops/entity_registry.go index 6520ef2a14..242ea0bcd2 100644 --- a/internal/ent/entityops/entity_registry.go +++ b/internal/ent/entityops/entity_registry.go @@ -6542,7 +6542,7 @@ func init() { SchemaOnboarding.Fields = []FieldDescriptor{ {Name: "company_details", Label: "CompanyDetails", Type: "map[string]interface {}", Clearable: true}, {Name: "company_name", Label: "CompanyName", Type: "string", MatchKey: true}, - {Name: "compliance", Label: "Compliance", Type: "map[string]interface {}", Clearable: true, TaskRules: []TaskRuleDescriptor{{RuleID: "framework", EachElement: "value.frameworks", Trigger: "createOnly"}, {RuleID: "framework-generic", Expression: "!(has(value.frameworks) && size(value.frameworks) > 0)", Trigger: "createOnly"}, {RuleID: "import-existing-controls", Expression: "value.existing_controls == true", Trigger: "createOnly"}, {RuleID: "import-template-controls", Expression: "!(has(value.existing_controls) && value.existing_controls == true)", Trigger: "createOnly"}, {RuleID: "import-existing-policies", Expression: "value.existing_policies_procedures == true", Trigger: "createOnly"}, {RuleID: "import-policy-templates", Expression: "!(has(value.existing_policies_procedures) && value.existing_policies_procedures == true)", Trigger: "createOnly"}, {RuleID: "has-auditor-at-onboarding", Expression: "value.has_auditor == true", Trigger: "createOnly"}, {RuleID: "wants-auditor-recommendation", Expression: "value.recommend_auditors == true", Trigger: "createOnly"}, {RuleID: "wants-partner-recommendation", Expression: "value.recommend_vciso_partner == true", Trigger: "createOnly"}}}, + {Name: "compliance", Label: "Compliance", Type: "map[string]interface {}", Clearable: true, TaskRules: []TaskRuleDescriptor{{RuleID: "framework-generic", Expression: "!(has(value.frameworks) && size(value.frameworks) > 0)", Trigger: "createOnly"}, {RuleID: "import-existing-controls", Expression: "value.existing_controls == true", Trigger: "createOnly"}, {RuleID: "import-template-controls", Expression: "!(has(value.existing_controls) && value.existing_controls == true)", Trigger: "createOnly"}, {RuleID: "import-existing-policies", Expression: "value.existing_policies_procedures == true", Trigger: "createOnly"}, {RuleID: "import-policy-templates", Expression: "!(has(value.existing_policies_procedures) && value.existing_policies_procedures == true)", Trigger: "createOnly"}, {RuleID: "has-auditor-at-onboarding", Expression: "value.has_auditor == true", Trigger: "createOnly"}, {RuleID: "wants-auditor-recommendation", Expression: "value.recommend_auditors == true", Trigger: "createOnly"}, {RuleID: "wants-partner-recommendation", Expression: "value.recommend_vciso_partner == true", Trigger: "createOnly"}}}, {Name: "deleted_at", Label: "DeletedAt", Type: "time.Time", Clearable: true}, {Name: "deleted_by", Label: "DeletedBy", Type: "string", MatchKey: true, Clearable: true}, {Name: "demo_requested", Label: "DemoRequested", Type: "bool", Clearable: true, TaskRules: []TaskRuleDescriptor{{RuleID: "demo-requested", Expression: "value == true", Trigger: "createOnly"}}}, diff --git a/internal/ent/hooks/listeners_task_rules.go b/internal/ent/hooks/listeners_task_rules.go index d5ae2b36fb..d99b7a9bd0 100644 --- a/internal/ent/hooks/listeners_task_rules.go +++ b/internal/ent/hooks/listeners_task_rules.go @@ -18,7 +18,6 @@ import ( "github.com/theopenlane/core/v2/internal/ent/generated" "github.com/theopenlane/core/v2/internal/ent/generated/notification" "github.com/theopenlane/core/v2/internal/ent/generated/organization" - "github.com/theopenlane/core/v2/internal/ent/generated/standard" "github.com/theopenlane/core/v2/internal/ent/generated/task" "github.com/theopenlane/core/v2/internal/ent/taskrules" "github.com/theopenlane/core/v2/pkg/celx" @@ -97,7 +96,7 @@ func handleTaskRuleMutation(inv entityops.Invocation, payload entityops.Mutation continue } - rendered, err := evaluateRule(inv.Context, inv.Client, fieldRule.Rule, value, placeholders) + rendered, err := evaluateRule(inv.Context, fieldRule.Rule, value, placeholders) if err != nil { logx.FromContext(inv.Context).Error().Err(err).Str("rule", fieldRule.Rule.RuleID).Msg("entityops: task rule evaluation failed") @@ -234,10 +233,10 @@ type renderedTask struct { } // evaluateRule evaluates one rule against value: for EachElement rules it expands into one -// renderedTask per list element, resolving {label} via any registered resolver; for Expression +// renderedTask per list element; for Expression // rules it fires at most one renderedTask when the condition is true. placeholders carries the // firing entity's own fields (e.g. {id}, {body}), available regardless of which case fires -func evaluateRule(ctx context.Context, client *generated.Client, rule entityops.TaskRuleDescriptor, value any, placeholders map[string]string) ([]renderedTask, error) { +func evaluateRule(ctx context.Context, rule entityops.TaskRuleDescriptor, value any, placeholders map[string]string) ([]renderedTask, error) { tmpl, ok := taskrules.Lookup(rule.RuleID) if !ok { return nil, fmt.Errorf("%w: %s", ErrMissingTaskTemplate, rule.RuleID) @@ -264,9 +263,8 @@ func evaluateRule(ctx context.Context, client *generated.Client, rule entityops. for _, element := range elements { elementValue := fmt.Sprint(element) - label := resolveLabel(ctx, client, rule.RuleID, elementValue) - rendered, err := renderTask(tmpl, rule.RuleID, elementValue, label, placeholders) + rendered, err := renderTask(tmpl, rule.RuleID, elementValue, elementValue, placeholders) if err != nil { return nil, err } @@ -513,49 +511,3 @@ func evaluateCELList(ctx context.Context, expression string, value any) ([]any, return list, nil } - -// TaskLabelResolver resolves a human-readable label for one EachElement value filling the {label} placeholder in a task template -type TaskLabelResolver func(ctx context.Context, client *generated.Client, value string) string - -var taskLabelResolvers = map[string]TaskLabelResolver{ - taskrules.RuleFramework: resolveFrameworkLabel, -} - -// resolveLabel looks up value's label via any resolver registered for ruleID, falling back to -// value itself when none is registered or the resolver comes up empty -func resolveLabel(ctx context.Context, client *generated.Client, ruleID, value string) string { - resolver, ok := taskLabelResolvers[ruleID] - if !ok { - return value - } - - if label := resolver(ctx, client, value); label != "" { - return label - } - - return value -} - -// resolveFrameworkLabel resolves a framework code (the value submitted for the "frameworks" -// onboarding question, see internal/onboarding/catalog.go's getFrameworkOptions) to its display name -func resolveFrameworkLabel(ctx context.Context, client *generated.Client, value string) string { - if client == nil { - return value - } - - std, err := client.Standard.Query(). - Where( - standard.FrameworkEQ(value), - standard.StatusEQ(enums.StandardActive), - ). - First(ctx) - if err != nil { - return value - } - - if std.ShortName != "" { - return std.ShortName - } - - return std.Name -} diff --git a/internal/ent/hooks/listeners_task_rules_test.go b/internal/ent/hooks/listeners_task_rules_test.go index b1b7c7db7a..a6b47d0522 100644 --- a/internal/ent/hooks/listeners_task_rules_test.go +++ b/internal/ent/hooks/listeners_task_rules_test.go @@ -12,6 +12,7 @@ import ( "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/v2/internal/ent/generated" "github.com/theopenlane/core/v2/internal/ent/generated/privacy" + "github.com/theopenlane/core/v2/internal/ent/generated/program" "github.com/theopenlane/core/v2/internal/ent/generated/task" "github.com/theopenlane/core/v2/internal/ent/taskrules" "github.com/theopenlane/iam/auth" @@ -49,6 +50,7 @@ func (suite *HookTestSuite) TestTaskRuleListenersCreateSuggestedTasks() { // onboarding compliance answers were left blank, so the unanswered-fallback rule fires assert.Contains(t, sourceKeys, "onboarding-"+taskrules.RuleImportTemplateControls) + assert.Contains(t, sourceKeys, "onboarding-"+taskrules.RuleFrameworkGeneric) } // TestTaskRuleListenersNotificationTaskOwnerAttribution guards against a suggested task @@ -103,55 +105,95 @@ func (suite *HookTestSuite) TestTaskRuleListenersNotificationTaskOwnerAttributio assert.Empty(t, tasksB) } -func (suite *HookTestSuite) TestTaskRuleListenersFrameworkLinkIncludesAuditorParams() { +func (suite *HookTestSuite) TestOnboardingCreatesProgramWithSelectedFrameworks() { t := suite.T() - user := suite.seedUser() + ctx := generated.NewContext(auth.NewTestContextWithOrgID(user.ID, user.Edges.OrgMemberships[0].OrganizationID), suite.client) + ctx = privacy.DecisionContext(ctx, privacy.Allow) - userCtx := auth.NewTestContextWithOrgID(user.ID, user.Edges.OrgMemberships[0].ID) - userCtx = generated.NewContext(userCtx, suite.client) - ctx := privacy.DecisionContext(userCtx, privacy.Allow) - ctx = generated.NewContext(ctx, suite.client) - - // the standard must exist before the onboarding mutation fires the listener; the - // production catalog is seeded system-wide ahead of any onboarding admin := suite.seedSystemAdmin() - - sysCtx := auth.NewTestContextForSystemAdmin(admin.ID, admin.Edges.OrgMemberships[0].ID) - sysCtx = generated.NewContext(sysCtx, suite.client) - - _, err := suite.client.Standard.Create(). - SetSystemOwned(true). - SetIsPublic(true). - SetFramework("iso27001"). - SetShortName("ISO 27001"). - SetName("ISO/IEC 27001"). - SetStatus(enums.StandardActive). - Save(sysCtx) - require.NoError(t, err) + sysCtx := generated.NewContext(auth.NewTestContextForSystemAdmin(admin.ID, admin.Edges.OrgMemberships[0].OrganizationID), suite.client) + + for _, framework := range []struct { + code string + label string + }{ + {code: "soc2", label: "SOC 2"}, + {code: "iso27001", label: "ISO 27001"}, + } { + std, err := suite.client.Standard.Create(). + SetSystemOwned(true). + SetIsPublic(true). + SetFramework(framework.code). + SetShortName(framework.label). + SetName(framework.label). + SetStatus(enums.StandardActive). + Save(sysCtx) + require.NoError(t, err) + + for _, category := range []string{"Security", "Availability", "Confidentiality", "Processing Integrity", "Privacy"} { + control, err := suite.client.Control.Create(). + SetSystemOwned(true). + SetStandardID(std.ID). + SetRefCode(framework.code + "-" + category). + SetCategory(category). + Save(sysCtx) + require.NoError(t, err) + + _, err = suite.client.Subcontrol.Create(). + SetSystemOwned(true). + SetControlID(control.ID). + SetRefCode(control.RefCode + "-1"). + SetCategory(category). + Save(sysCtx) + require.NoError(t, err) + } + } onboarding, err := suite.client.Onboarding.Create().SetInput(generated.CreateOnboardingInput{ - CompanyName: "Framework Link Co", + CompanyName: "Framework Program Co", Compliance: map[string]interface{}{ - "frameworks": []interface{}{"soc2", "iso27001"}, + "frameworks": []interface{}{"soc2", "iso27001", "soc2"}, "auditor_name": "Jane Doe", "auditor_email": "jane@example.com", }, }).Save(ctx) require.NoError(t, err) + created, err := suite.client.Program.Query().Where(program.OwnerIDEQ(onboarding.OrganizationID)). + WithControls(func(q *generated.ControlQuery) { q.WithSubcontrols() }). + WithMembers().Only(ctx) + require.NoError(t, err) + assert.Equal(t, "SOC 2, ISO 27001", created.FrameworkName) + assert.Equal(t, "Jane Doe", created.Auditor) + assert.Equal(t, "jane@example.com", created.AuditorEmail) + require.Len(t, created.Edges.Members, 1) + assert.Equal(t, user.ID, created.Edges.Members[0].UserID) + assert.Equal(t, enums.RoleAdmin, created.Edges.Members[0].Role) + + refs := make([]string, 0, len(created.Edges.Controls)) + for _, control := range created.Edges.Controls { + refs = append(refs, control.RefCode) + assert.Equal(t, onboarding.OrganizationID, control.OwnerID) + assert.False(t, control.SystemOwned) + require.Len(t, control.Edges.Subcontrols, 1) + assert.Equal(t, control.RefCode+"-1", control.Edges.Subcontrols[0].RefCode) + assert.Equal(t, onboarding.OrganizationID, control.Edges.Subcontrols[0].OwnerID) + assert.Equal(t, control.ID, control.Edges.Subcontrols[0].ControlID) + } + assert.ElementsMatch(t, []string{ + "soc2-Security", "iso27001-Security", "iso27001-Availability", + "iso27001-Confidentiality", "iso27001-Processing Integrity", "iso27001-Privacy", + }, refs) + suite.waitForEvents() tasks, err := suite.client.Task.Query().Where(task.OwnerIDEQ(onboarding.OrganizationID)).All(ctx) require.NoError(t, err) - - links := make(map[string]string, len(tasks)) + require.NotEmpty(t, tasks) for _, tk := range tasks { - if link, ok := tk.Metadata["link"].(string); ok { - links[tk.SourceKey] = link - } + assert.NotEqual(t, "onboarding-framework-soc2", tk.SourceKey) + assert.NotEqual(t, "onboarding-framework-iso27001", tk.SourceKey) + assert.NotEqual(t, "onboarding-"+taskrules.RuleFrameworkGeneric, tk.SourceKey) } - - assert.Equal(t, "/programs/create/soc2?onboarding=true&auditorName=Jane Doe&auditorEmail=jane@example.com", links["onboarding-framework-soc2"]) - assert.Equal(t, "/programs/create/framework-based?onboarding=true&framework=ISO 27001&auditorName=Jane Doe&auditorEmail=jane@example.com", links["onboarding-framework-iso27001"]) } diff --git a/internal/ent/hooks/onboarding.go b/internal/ent/hooks/onboarding.go index 5f3aae79e5..4d20db0fc1 100644 --- a/internal/ent/hooks/onboarding.go +++ b/internal/ent/hooks/onboarding.go @@ -56,6 +56,11 @@ func HookOnboarding() ent.Hook { } } + compliance, _ := m.Compliance() + if err := createProgram(ctx, m.Client(), org, compliance); err != nil { + return nil, err + } + v, err := next.Mutate(ctx, m) if err != nil { return nil, err @@ -68,7 +73,6 @@ func HookOnboarding() ent.Hook { companyDetails, _ := m.CompanyDetails() userDetails, _ := m.UserDetails() - compliance, _ := m.Compliance() demoRequested, _ := m.DemoRequested() if err := sendSystemSlack(ctx, slackdef.DemoRequestOp.Name(), slackdef.DemoRequestMessage{ diff --git a/internal/ent/hooks/onboarding_program.go b/internal/ent/hooks/onboarding_program.go new file mode 100644 index 0000000000..4994b59c66 --- /dev/null +++ b/internal/ent/hooks/onboarding_program.go @@ -0,0 +1,138 @@ +package hooks + +import ( + "context" + "encoding/json" + "fmt" + "strings" + + "entgo.io/ent/dialect/sql" + "github.com/theopenlane/iam/auth" + + "github.com/theopenlane/core/common/enums" + + "github.com/theopenlane/core/v2/internal/controls" + "github.com/theopenlane/core/v2/internal/ent/generated" + "github.com/theopenlane/core/v2/internal/ent/generated/privacy" + "github.com/theopenlane/core/v2/internal/ent/generated/standard" +) + +func createProgram(ctx context.Context, client *generated.Client, org *generated.Organization, complianceData map[string]interface{}) error { + data, err := json.Marshal(complianceData["frameworks"]) + if err != nil { + return err + } + + var frameworks []string + if err := json.Unmarshal(data, &frameworks); err != nil { + return fmt.Errorf("invalid onboarding frameworks: %w", err) + } + + if len(frameworks) == 0 { + return nil + } + + caller, ok := auth.CallerFromContext(ctx) + if !ok || caller == nil { + return auth.ErrNoAuthUser + } + + newCaller := *caller + newCaller.OrganizationID = org.ID + + ctx = auth.WithCaller(ctx, &newCaller) + ctx = privacy.DecisionContext(ctx, privacy.Allow) + + standards := make([]*generated.Standard, 0, len(frameworks)) + + labels := make([]string, 0, len(frameworks)) + seen := make(map[string]bool, len(frameworks)) + + for _, framework := range frameworks { + if seen[framework] { + continue + } + + seen[framework] = true + + if framework == "other" { + labels = append(labels, "Other") + continue + } + + std, err := client.Standard.Query(). + Where( + standard.FrameworkEQ(framework), + standard.StatusEQ(enums.StandardActive), + standard.SystemOwned(true), + standard.IsPublic(true), + standard.FrameworkNotIn("openlane-standard", "openlane-trust-center"), + ). + Order(standard.ByVersion(sql.OrderDesc()), standard.ByID()). + First(ctx) + if err != nil { + return fmt.Errorf("resolve onboarding framework %q: %w", framework, err) + } + + standards = append(standards, std) + label := std.ShortName + if label == "" { + label = std.Name + } + + labels = append(labels, label) + } + + builder := client.Program.Create(). + SetOwnerID(org.ID). + SetName(org.DisplayName + " Compliance Program"). + SetFrameworkName(strings.Join(labels, ", ")) + + if auditor, ok := complianceData["auditor_name"].(string); ok && auditor != "" { + builder.SetAuditor(auditor) + } + + if email, ok := complianceData["auditor_email"].(string); ok && email != "" { + builder.SetAuditorEmail(email) + } + + program, err := builder.Save(ctx) + if err != nil { + return err + } + + for _, std := range standards { + filters := controls.CloneFilterOptions{StandardID: &std.ID} + if std.Framework == "soc2" { + filters.Categories = []string{"Security"} + } + + where, err := controls.ControlFilterByStandard(ctx, filters, std) + if err != nil { + return err + } + sources, err := client.Control.Query().Where(where...).WithStandard().WithSubcontrols().All(ctx) + if err != nil { + return err + } + + // can't use worker pool here since we are in a tx + for _, source := range sources { + input, _ := controls.CreateCloneControlInput(source, &program.ID, org.ID) + cloned, err := client.Control.Create().SetInput(input).Save(ctx) + if err != nil { + return err + } + + for _, subcontrol := range source.Edges.Subcontrols { + input := controls.CreateCloneSubcontrolInput(subcontrol, org.ID, controls.SubcontrolToCreate{RefControl: source}) + input.ControlID = cloned.ID + if err := client.Subcontrol.Create().SetInput(*input).Exec(ctx); err != nil { + return err + } + } + } + } + + return nil +} diff --git a/internal/ent/hooks/onboarding_test.go b/internal/ent/hooks/onboarding_test.go index aead8be66b..d1abf5ef70 100644 --- a/internal/ent/hooks/onboarding_test.go +++ b/internal/ent/hooks/onboarding_test.go @@ -6,10 +6,15 @@ import ( "github.com/brianvoe/gofakeit/v7" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/theopenlane/core/common/enums" + "github.com/theopenlane/iam/auth" + "github.com/theopenlane/core/v2/internal/ent/generated" "github.com/theopenlane/core/v2/internal/ent/generated/organization" "github.com/theopenlane/core/v2/internal/ent/generated/privacy" - "github.com/theopenlane/iam/auth" + "github.com/theopenlane/core/v2/internal/ent/generated/program" + "github.com/theopenlane/core/v2/internal/ent/generated/task" + "github.com/theopenlane/core/v2/internal/ent/taskrules" ) func (suite *HookTestSuite) TestHookOnboarding() { @@ -114,3 +119,93 @@ func (suite *HookTestSuite) TestHookOnboarding() { }) } } + +func (suite *HookTestSuite) TestOnboardingProgramFrameworkSelections() { + t := suite.T() + + admin := suite.seedSystemAdmin() + sysCtx := generated.NewContext(auth.NewTestContextForSystemAdmin(admin.ID, admin.Edges.OrgMemberships[0].OrganizationID), suite.client) + framework := gofakeit.UUID() + + std, err := suite.client.Standard.Create().SetName(framework).SetShortName(framework). + SetFramework(framework).SetIsPublic(true).SetSystemOwned(true). + SetStatus(enums.StandardActive).Save(sysCtx) + require.NoError(t, err) + + _, err = suite.client.Control.Create().SetStandardID(std.ID). + SetSystemOwned(true).SetRefCode("TEST-1").Save(sysCtx) + require.NoError(t, err) + + for _, tc := range []struct { + name string + compliance map[string]interface{} + programCount int + controlCount int + expectedErr string + }{ + {name: "no compliance"}, + {name: "no frameworks", compliance: map[string]interface{}{"existing_controls": true}}, + {name: "empty frameworks", compliance: map[string]interface{}{"frameworks": []string{}}}, + { + name: "single framework", + compliance: map[string]interface{}{"frameworks": []string{framework}}, + programCount: 1, + controlCount: 1, + }, + { + name: "other framework", + compliance: map[string]interface{}{"frameworks": []string{"other"}}, + programCount: 1, + }, + { + name: "unknown framework", + compliance: map[string]interface{}{"frameworks": []string{"missing-framework"}}, + expectedErr: "resolve onboarding framework", + }, + { + name: "invalid framework input", + compliance: map[string]interface{}{"frameworks": []interface{}{123}}, + expectedErr: "invalid onboarding frameworks", + }, + } { + + t.Run(tc.name, func(t *testing.T) { + user := suite.seedUser() + ctx := generated.NewContext(auth.NewTestContextWithOrgID(user.ID, user.Edges.OrgMemberships[0].OrganizationID), suite.client) + ctx = privacy.DecisionContext(ctx, privacy.Allow) + + onboarding, err := suite.client.Onboarding.Create().SetInput(generated.CreateOnboardingInput{ + CompanyName: gofakeit.Company(), + Compliance: tc.compliance, + }).Save(ctx) + + if tc.expectedErr != "" { + require.ErrorContains(t, err, tc.expectedErr) + return + } + require.NoError(t, err) + + programs, err := suite.client.Program.Query().Where(program.OwnerIDEQ(onboarding.OrganizationID)).WithControls().All(ctx) + require.NoError(t, err) + require.Len(t, programs, tc.programCount) + + if tc.programCount > 0 { + assert.Len(t, programs[0].Edges.Controls, tc.controlCount) + } + + suite.waitForEvents() + + taskCount, err := suite.client.Task.Query().Where( + task.OwnerIDEQ(onboarding.OrganizationID), + task.SourceKeyEQ("onboarding-"+taskrules.RuleFrameworkGeneric), + ).Count(ctx) + require.NoError(t, err) + + if tc.programCount == 0 { + assert.Equal(t, 1, taskCount) + } else { + assert.Zero(t, taskCount) + } + }) + } +} diff --git a/internal/ent/taskrules/onboarding.go b/internal/ent/taskrules/onboarding.go index 07fa457926..233b28104a 100644 --- a/internal/ent/taskrules/onboarding.go +++ b/internal/ent/taskrules/onboarding.go @@ -4,7 +4,6 @@ import "github.com/theopenlane/entx" // Onboarding compliance rule IDs const ( - RuleFramework = "framework" RuleFrameworkGeneric = "framework-generic" RuleImportExistingControls = "import-existing-controls" RuleImportTemplateControls = "import-template-controls" @@ -18,11 +17,6 @@ const ( // OnboardingComplianceRules generate suggested tasks from the onboarding compliance answers var OnboardingComplianceRules = []entx.TaskRuleSpec{ - { - RuleID: RuleFramework, - EachElement: "value.frameworks", - Trigger: entx.TaskRuleOnCreateOnly, - }, { RuleID: RuleFrameworkGeneric, Expression: "!(has(value.frameworks) && size(value.frameworks) > 0)", diff --git a/internal/ent/taskrules/templates/onboarding.yaml b/internal/ent/taskrules/templates/onboarding.yaml index b3b511a21e..a5042f48d3 100644 --- a/internal/ent/taskrules/templates/onboarding.yaml +++ b/internal/ent/taskrules/templates/onboarding.yaml @@ -1,14 +1,4 @@ rules: - framework: - title: Set up your {{.label}} program - taskKindName: Operational - details: | - Kick your program off by creating a program with the framework controls - priority: 10 - metadata: - docsLink: https://docs.theopenlane.io/docs/platform/compliance-management/programs/overview - link: '{{if eq .value "soc2"}}/programs/create/soc2?onboarding=true{{else}}/programs/create/framework-based?onboarding=true&framework={{.label}}{{end}}{{if .auditor_name}}&auditorName={{.auditor_name}}{{end}}{{if .auditor_email}}&auditorEmail={{.auditor_email}}{{end}}' - framework-generic: title: Set up your compliance program taskKindName: Operational diff --git a/internal/graphapi/checksum/.history_schema_checksum b/internal/graphapi/checksum/.history_schema_checksum index 35efeefe01..22bd99dc36 100644 --- a/internal/graphapi/checksum/.history_schema_checksum +++ b/internal/graphapi/checksum/.history_schema_checksum @@ -1 +1 @@ -d9ea7412322800eeafda102e3448ac56220a451122a9b9560e0dd50f23b70dbf \ No newline at end of file +bc7738ea47a95ed7c74321d778d8efeae8a5f3d94e9497ef026de0221fbadf49 \ No newline at end of file From e686f26ff044d7f221fbf30d2e696bcd1ce67c22 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Fri, 11 Sep 2026 00:11:00 +0100 Subject: [PATCH 02/12] fix strings and use constants instead --- internal/controls/trustcenter.go | 14 +++++++++----- internal/ent/hooks/onboarding_program.go | 3 --- internal/graphapi/control_test.go | 4 +++- internal/graphapi/trustcenter_test.go | 9 ++++++++- internal/onboarding/catalog.go | 4 +++- 5 files changed, 23 insertions(+), 11 deletions(-) diff --git a/internal/controls/trustcenter.go b/internal/controls/trustcenter.go index b00ccecddc..7a0fdbc123 100644 --- a/internal/controls/trustcenter.go +++ b/internal/controls/trustcenter.go @@ -4,12 +4,13 @@ import ( "context" "entgo.io/ent/dialect/sql" + "github.com/theopenlane/iam/auth" + "github.com/theopenlane/utils/rout" + "github.com/theopenlane/core/v2/internal/ent/generated" "github.com/theopenlane/core/v2/internal/ent/generated/privacy" "github.com/theopenlane/core/v2/internal/ent/generated/standard" "github.com/theopenlane/core/v2/pkg/logx" - "github.com/theopenlane/iam/auth" - "github.com/theopenlane/utils/rout" ) var ( @@ -17,13 +18,16 @@ var ( // used to identify controls that should be flagged as trust center controls during clone trustCenterStandardShortName = "OTS" - // trustCenterFrameworkName is the name of the framework the trust center standard belongs to, used in conjunction with trustCenterStandardShortName to identify controls that should be flagged as trust center controls during clone - trustCenterFrameworkName = "openlane-trust-center" + // TrustCenterFrameworkName is the name of the framework the trust center standard belongs to, used in conjunction with trustCenterStandardShortName to identify controls that should be flagged as trust center controls during clone + TrustCenterFrameworkName = "openlane-trust-center" + + // StandardTrustCenterFrameworkName is the name of the fremework the default standards go to + StandardTrustCenterFrameworkName = "openlane-standard" // trustCenterStandardFilter is the filter used to identify controls that should be flagged as trust center controls during clone trustCenterStandardFilter = CloneFilterOptions{ StandardShortName: &trustCenterStandardShortName, - StandardFrameworkName: &trustCenterFrameworkName, + StandardFrameworkName: &TrustCenterFrameworkName, } ) diff --git a/internal/ent/hooks/onboarding_program.go b/internal/ent/hooks/onboarding_program.go index 4994b59c66..6742669a1d 100644 --- a/internal/ent/hooks/onboarding_program.go +++ b/internal/ent/hooks/onboarding_program.go @@ -13,7 +13,6 @@ import ( "github.com/theopenlane/core/v2/internal/controls" "github.com/theopenlane/core/v2/internal/ent/generated" - "github.com/theopenlane/core/v2/internal/ent/generated/privacy" "github.com/theopenlane/core/v2/internal/ent/generated/standard" ) @@ -41,7 +40,6 @@ func createProgram(ctx context.Context, client *generated.Client, org *generated newCaller.OrganizationID = org.ID ctx = auth.WithCaller(ctx, &newCaller) - ctx = privacy.DecisionContext(ctx, privacy.Allow) standards := make([]*generated.Standard, 0, len(frameworks)) @@ -66,7 +64,6 @@ func createProgram(ctx context.Context, client *generated.Client, org *generated standard.StatusEQ(enums.StandardActive), standard.SystemOwned(true), standard.IsPublic(true), - standard.FrameworkNotIn("openlane-standard", "openlane-trust-center"), ). Order(standard.ByVersion(sql.OrderDesc()), standard.ByID()). First(ctx) diff --git a/internal/graphapi/control_test.go b/internal/graphapi/control_test.go index 0ab38a241c..724ea493e4 100644 --- a/internal/graphapi/control_test.go +++ b/internal/graphapi/control_test.go @@ -6,6 +6,7 @@ import ( "slices" "testing" + "github.com/theopenlane/core/v2/internal/controls" th "github.com/theopenlane/core/v2/internal/graphapi/testharness" "gotest.tools/v3/assert" @@ -17,6 +18,7 @@ import ( "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/common/models" + "github.com/theopenlane/core/v2/internal/ent/generated" controlgen "github.com/theopenlane/core/v2/internal/ent/generated/control" "github.com/theopenlane/core/v2/internal/graphapi/gqlerrors" @@ -1050,7 +1052,7 @@ func TestMutationCreateControlsByCloneOpenlaneControls(t *testing.T) { standard := (&th.StandardBuilder{ Client: suite.Client, Name: "Openlane Baseline", - Framework: "openlane-standard", + Framework: controls.StandardTrustCenterFrameworkName, IsPublic: true, }).MustNew(th.SharedSystemAdminUser.UserCtx, t) diff --git a/internal/graphapi/trustcenter_test.go b/internal/graphapi/trustcenter_test.go index 16305b6a2e..2bd7b02d24 100644 --- a/internal/graphapi/trustcenter_test.go +++ b/internal/graphapi/trustcenter_test.go @@ -5,6 +5,7 @@ import ( "fmt" "testing" + "github.com/theopenlane/core/v2/internal/controls" th "github.com/theopenlane/core/v2/internal/graphapi/testharness" "github.com/99designs/gqlgen/graphql" @@ -21,6 +22,7 @@ import ( "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/common/jobspec" + "github.com/theopenlane/core/v2/internal/ent/generated" "github.com/theopenlane/core/v2/internal/ent/generated/customdomain" "github.com/theopenlane/core/v2/internal/graphapi/testclient" @@ -234,7 +236,12 @@ func TestMutationCreateTrustCenter(t *testing.T) { customDomain := (&th.CustomDomainBuilder{Client: suite.Client}).MustNew(localTestUser.Owner.UserCtx, t) // create trust center standard - trustCenterControlStd := (&th.StandardBuilder{Client: suite.Client, Name: "OTS", Framework: "openlane-trust-center", IsPublic: true}).MustNew(th.SharedSystemAdminUser.UserCtx, t) + trustCenterControlStd := (&th.StandardBuilder{ + Client: suite.Client, + Name: "OTS", + IsPublic: true, + Framework: controls.TrustCenterFrameworkName, + }).MustNew(th.SharedSystemAdminUser.UserCtx, t) trustCenterControlIDs := []string{} numTrustCenterControls := 5 diff --git a/internal/onboarding/catalog.go b/internal/onboarding/catalog.go index 2bf5b547b6..a0df505d70 100644 --- a/internal/onboarding/catalog.go +++ b/internal/onboarding/catalog.go @@ -6,6 +6,8 @@ import ( "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/common/models" + + "github.com/theopenlane/core/v2/internal/controls" "github.com/theopenlane/core/v2/internal/ent/generated" "github.com/theopenlane/core/v2/internal/ent/generated/privacy" "github.com/theopenlane/core/v2/internal/ent/generated/standard" @@ -93,7 +95,7 @@ func getFrameworkOptions(ctx context.Context, client *generated.Client) ([]model standards, err := client.Standard.Query(). Where( standard.StatusEQ(enums.StandardActive), - standard.FrameworkNotIn("openlane-standard", "openlane-trust-center"), + standard.FrameworkNotIn(controls.StandardTrustCenterFrameworkName, controls.TrustCenterFrameworkName), standard.SystemOwned(true), standard.IsPublic(true), ). From 067d0ffb851520c5740457343a17534d339480a4 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Fri, 11 Sep 2026 00:17:53 +0100 Subject: [PATCH 03/12] fix review --- internal/ent/hooks/listener_init.go | 26 +++ .../ent/hooks/listeners_campaign_recurring.go | 3 - .../hooks/listeners_document_associations.go | 3 - internal/ent/hooks/listeners_entitlements.go | 3 - internal/ent/hooks/listeners_file_backup.go | 3 - .../ent/hooks/listeners_identityresolution.go | 3 - .../hooks/listeners_integration_cleanup.go | 3 - .../ent/hooks/listeners_nda_attestation.go | 3 - ...ram.go => listeners_onboarding_program.go} | 164 ++++++++++++------ .../hooks/listeners_organization_avatar.go | 4 - .../hooks/listeners_organization_cleanup.go | 3 - .../listeners_questionnaire_transform.go | 3 - internal/ent/hooks/listeners_registry.go | 7 +- internal/ent/hooks/listeners_scan_domain.go | 3 - .../ent/hooks/listeners_subscriber_link.go | 3 - internal/ent/hooks/listeners_task_rules.go | 3 - .../ent/hooks/listeners_trustcenter_cache.go | 3 - .../hooks/listeners_trustcenter_watermark.go | 3 - internal/ent/hooks/listeners_vendorscoring.go | 3 - internal/ent/hooks/listeners_workflow.go | 3 - internal/ent/hooks/onboarding.go | 2 +- .../listeners_onboarding_program_test.go | 61 +++++++ 22 files changed, 204 insertions(+), 108 deletions(-) create mode 100644 internal/ent/hooks/listener_init.go rename internal/ent/hooks/{onboarding_program.go => listeners_onboarding_program.go} (55%) create mode 100644 internal/graphapi/eventstest/listeners_onboarding_program_test.go diff --git a/internal/ent/hooks/listener_init.go b/internal/ent/hooks/listener_init.go new file mode 100644 index 0000000000..1db6648ca3 --- /dev/null +++ b/internal/ent/hooks/listener_init.go @@ -0,0 +1,26 @@ +package hooks + +import "github.com/theopenlane/core/v2/pkg/gala" + +func init() { + registerListeners( + CampaignRecurringListeners, + DocumentAssociationListeners, + EntitlementListeners, + FileBackupListeners, + IdentityResolutionListeners, + IntegrationCleanupListeners, + NDAAttestationListeners, + OnboardingProgramListeners, + OrganizationCleanupListeners, + QuestionnaireTransformListeners, + DomainScanListeners, + SubscriberLinkListeners, + TaskRuleListeners, + TrustCenterCacheListeners, + TrustCenterWatermarkListeners, + VendorScoringListeners, + WorkflowListeners, + func() []gala.Registration { return OrganizationAvatarListeners() }, + ) +} diff --git a/internal/ent/hooks/listeners_campaign_recurring.go b/internal/ent/hooks/listeners_campaign_recurring.go index 28ae733be3..f24235ccb3 100644 --- a/internal/ent/hooks/listeners_campaign_recurring.go +++ b/internal/ent/hooks/listeners_campaign_recurring.go @@ -17,9 +17,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the campaign recurring listeners so gala setup picks them up automatically -func init() { registerListeners(CampaignRecurringListeners) } - // CampaignRecurringListeners keeps recurring campaign scheduling in sync when activation or recurrence fields change func CampaignRecurringListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_document_associations.go b/internal/ent/hooks/listeners_document_associations.go index 7f226cfa02..6f454ccebf 100644 --- a/internal/ent/hooks/listeners_document_associations.go +++ b/internal/ent/hooks/listeners_document_associations.go @@ -12,9 +12,6 @@ import ( "github.com/theopenlane/core/v2/pkg/jsonx" ) -// init registers the document association listeners so gala setup picks them up automatically -func init() { registerListeners(DocumentAssociationListeners) } - // DocumentAssociationListeners links controls referenced in a new document's details func DocumentAssociationListeners() []gala.Registration { return entityops.ForSchemas([]*entityops.Schema{entityops.SchemaActionPlan, entityops.SchemaInternalPolicy, entityops.SchemaProcedure}, entityops.MutationListener{ diff --git a/internal/ent/hooks/listeners_entitlements.go b/internal/ent/hooks/listeners_entitlements.go index b5bf60aec2..10cf560972 100644 --- a/internal/ent/hooks/listeners_entitlements.go +++ b/internal/ent/hooks/listeners_entitlements.go @@ -19,9 +19,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the entitlement listeners so gala setup picks them up automatically -func init() { registerListeners(EntitlementListeners) } - // EntitlementListeners keeps Stripe customers and subscriptions in sync with organization // lifecycle and billing changes func EntitlementListeners() []gala.Registration { diff --git a/internal/ent/hooks/listeners_file_backup.go b/internal/ent/hooks/listeners_file_backup.go index 2331237ddb..9c18d07e5f 100644 --- a/internal/ent/hooks/listeners_file_backup.go +++ b/internal/ent/hooks/listeners_file_backup.go @@ -21,9 +21,6 @@ import ( "github.com/theopenlane/core/v2/pkg/metrics" ) -// init registers the file backup listeners so gala setup picks them up automatically -func init() { registerListeners(FileBackupListeners) } - // FileBackupRequest asks for a single file to be replicated to its backup provider type FileBackupRequest struct { FileID string `json:"file_id"` diff --git a/internal/ent/hooks/listeners_identityresolution.go b/internal/ent/hooks/listeners_identityresolution.go index 7e4ebf4ed5..d240fb1b71 100644 --- a/internal/ent/hooks/listeners_identityresolution.go +++ b/internal/ent/hooks/listeners_identityresolution.go @@ -21,9 +21,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the identity resolution listeners so gala setup picks them up automatically -func init() { registerListeners(IdentityResolutionListeners) } - // IdentityResolutionListeners resolves directory accounts to identity holders after mutations commit func IdentityResolutionListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_integration_cleanup.go b/internal/ent/hooks/listeners_integration_cleanup.go index 95695e1a60..0ba0673077 100644 --- a/internal/ent/hooks/listeners_integration_cleanup.go +++ b/internal/ent/hooks/listeners_integration_cleanup.go @@ -9,9 +9,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the integration cleanup listeners so gala setup picks them up automatically -func init() { registerListeners(IntegrationCleanupListeners) } - // IntegrationCleanupListeners purges queued integration jobs on removal or disconnect // and reseeds them on reconnect func IntegrationCleanupListeners() []gala.Registration { diff --git a/internal/ent/hooks/listeners_nda_attestation.go b/internal/ent/hooks/listeners_nda_attestation.go index 470da91e02..7fd5ee81e3 100644 --- a/internal/ent/hooks/listeners_nda_attestation.go +++ b/internal/ent/hooks/listeners_nda_attestation.go @@ -14,9 +14,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the NDA attestation listeners so gala setup picks them up automatically -func init() { registerListeners(NDAAttestationListeners) } - // NDAAttestationListeners attests signed trust center NDAs after document data creation func NDAAttestationListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/onboarding_program.go b/internal/ent/hooks/listeners_onboarding_program.go similarity index 55% rename from internal/ent/hooks/onboarding_program.go rename to internal/ent/hooks/listeners_onboarding_program.go index 6742669a1d..6bbcc02977 100644 --- a/internal/ent/hooks/onboarding_program.go +++ b/internal/ent/hooks/listeners_onboarding_program.go @@ -12,73 +12,62 @@ import ( "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/v2/internal/controls" + "github.com/theopenlane/core/v2/internal/ent/entityops" "github.com/theopenlane/core/v2/internal/ent/generated" + "github.com/theopenlane/core/v2/internal/ent/generated/privacy" "github.com/theopenlane/core/v2/internal/ent/generated/standard" + "github.com/theopenlane/core/v2/internal/workflows" + "github.com/theopenlane/core/v2/pkg/gala" ) -func createProgram(ctx context.Context, client *generated.Client, org *generated.Organization, complianceData map[string]interface{}) error { - data, err := json.Marshal(complianceData["frameworks"]) - if err != nil { - return err - } - - var frameworks []string - if err := json.Unmarshal(data, &frameworks); err != nil { - return fmt.Errorf("invalid onboarding frameworks: %w", err) +// OnboardingProgramListeners sets up gala to process onboarding requests such as creating programs +// and cloning them in the background +func OnboardingProgramListeners() []gala.Registration { + return []gala.Registration{ + entityops.MutationListener{ + Schema: entityops.SchemaOnboarding, + Operations: []string{entityops.OpCreate}, + Handle: handleOnboardingProgram, + }, } +} - if len(frameworks) == 0 { - return nil - } +func handleOnboardingProgram(inv entityops.Invocation, _ entityops.MutationPayload) error { + allowCtx := privacy.DecisionContext(inv.Context, privacy.Allow) - caller, ok := auth.CallerFromContext(ctx) - if !ok || caller == nil { - return auth.ErrNoAuthUser + onboarding, ok, err := entityops.LoadEntity(allowCtx, inv.EntityID, inv.Client.Onboarding.Get) + if err != nil || !ok || onboarding.OrganizationID == "" { + return err } - newCaller := *caller - newCaller.OrganizationID = org.ID + caller := *inv.Caller + caller.OrganizationID = onboarding.OrganizationID + ctx := auth.WithCaller(inv.Context, &caller) - ctx = auth.WithCaller(ctx, &newCaller) - - standards := make([]*generated.Standard, 0, len(frameworks)) - - labels := make([]string, 0, len(frameworks)) - seen := make(map[string]bool, len(frameworks)) + org, ok, err := entityops.LoadEntity(ctx, onboarding.OrganizationID, inv.Client.Organization.Get) + if err != nil || !ok { + return err + } - for _, framework := range frameworks { - if seen[framework] { - continue - } + _, err = workflows.WithTx(ctx, inv.Client, nil, func(tx *generated.Tx) (struct{}, error) { + return struct{}{}, createProgram(ctx, tx.Client(), org, onboarding.Compliance) + }) - seen[framework] = true + return err +} - if framework == "other" { - labels = append(labels, "Other") - continue - } +func createProgram(ctx context.Context, client *generated.Client, org *generated.Organization, complianceData map[string]interface{}) error { + standards, labels, err := resolveOnboardingStandards(ctx, client, org.ID, complianceData) + if err != nil || len(labels) == 0 { + return err + } - std, err := client.Standard.Query(). - Where( - standard.FrameworkEQ(framework), - standard.StatusEQ(enums.StandardActive), - standard.SystemOwned(true), - standard.IsPublic(true), - ). - Order(standard.ByVersion(sql.OrderDesc()), standard.ByID()). - First(ctx) - if err != nil { - return fmt.Errorf("resolve onboarding framework %q: %w", framework, err) - } + caller, _ := auth.CallerFromContext(ctx) - standards = append(standards, std) - label := std.ShortName - if label == "" { - label = std.Name - } + newCaller := *caller + newCaller.OrganizationID = org.ID - labels = append(labels, label) - } + ctx = auth.WithCaller(ctx, &newCaller) builder := client.Program.Create(). SetOwnerID(org.ID). @@ -133,3 +122,76 @@ func createProgram(ctx context.Context, client *generated.Client, org *generated return nil } + +func getOnboardingFrameworks(complianceData map[string]interface{}) ([]string, error) { + data, err := json.Marshal(complianceData["frameworks"]) + if err != nil { + return nil, err + } + + var frameworks []string + if err := json.Unmarshal(data, &frameworks); err != nil { + return nil, fmt.Errorf("invalid onboarding frameworks: %w", err) + } + + return frameworks, nil +} + +func resolveOnboardingStandards(ctx context.Context, client *generated.Client, orgID string, complianceData map[string]interface{}) ([]*generated.Standard, []string, error) { + frameworks, err := getOnboardingFrameworks(complianceData) + if err != nil || len(frameworks) == 0 { + return nil, nil, err + } + + caller, ok := auth.CallerFromContext(ctx) + if !ok || caller == nil { + return nil, nil, auth.ErrNoAuthUser + } + + newCaller := *caller + newCaller.OrganizationID = orgID + ctx = auth.WithCaller(ctx, &newCaller) + + standards := make([]*generated.Standard, 0, len(frameworks)) + + labels := make([]string, 0, len(frameworks)) + seen := make(map[string]bool, len(frameworks)) + + for _, framework := range frameworks { + if seen[framework] { + continue + } + + seen[framework] = true + + if framework == "other" { + labels = append(labels, "Other") + continue + } + + std, err := client.Standard.Query(). + Where( + standard.FrameworkEQ(framework), + standard.StatusEQ(enums.StandardActive), + standard.SystemOwned(true), + ). + Order( + standard.ByVersion(sql.OrderDesc()), + standard.ByID(), + ). + First(ctx) + if err != nil { + return nil, nil, fmt.Errorf("resolve onboarding framework %q: %w", framework, err) + } + + standards = append(standards, std) + label := std.ShortName + if label == "" { + label = std.Name + } + + labels = append(labels, label) + } + + return standards, labels, nil +} diff --git a/internal/ent/hooks/listeners_organization_avatar.go b/internal/ent/hooks/listeners_organization_avatar.go index 0551315023..bc468f09f0 100644 --- a/internal/ent/hooks/listeners_organization_avatar.go +++ b/internal/ent/hooks/listeners_organization_avatar.go @@ -14,10 +14,6 @@ import ( "github.com/theopenlane/httpsling/httpclient" ) -// init registers the organization avatar listeners with their default options so gala -// setup picks them up automatically -func init() { registerListeners(func() []gala.Registration { return OrganizationAvatarListeners() }) } - const avatarFetchTimeout = 5 * time.Second // OrganizationAvatarListenerOption customizes avatar discovery diff --git a/internal/ent/hooks/listeners_organization_cleanup.go b/internal/ent/hooks/listeners_organization_cleanup.go index 5f966cf036..d801b3e4db 100644 --- a/internal/ent/hooks/listeners_organization_cleanup.go +++ b/internal/ent/hooks/listeners_organization_cleanup.go @@ -13,9 +13,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the organization cleanup listeners so gala setup picks them up automatically -func init() { registerListeners(OrganizationCleanupListeners) } - // OrganizationCleanupListeners cascades an organization soft delete by hard-deleting everything it owns func OrganizationCleanupListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_questionnaire_transform.go b/internal/ent/hooks/listeners_questionnaire_transform.go index 35204855fc..a8df429b61 100644 --- a/internal/ent/hooks/listeners_questionnaire_transform.go +++ b/internal/ent/hooks/listeners_questionnaire_transform.go @@ -26,9 +26,6 @@ import ( "github.com/theopenlane/core/v2/pkg/mapx" ) -// init registers the questionnaire transform listeners so gala setup picks them up automatically -func init() { registerListeners(QuestionnaireTransformListeners) } - // QuestionnaireTransformListeners transforms completed questionnaire document data into // entities using the template's transform configuration func QuestionnaireTransformListeners() []gala.Registration { diff --git a/internal/ent/hooks/listeners_registry.go b/internal/ent/hooks/listeners_registry.go index 41693bb72a..aaaa80f89d 100644 --- a/internal/ent/hooks/listeners_registry.go +++ b/internal/ent/hooks/listeners_registry.go @@ -22,10 +22,9 @@ import ( // functions in this package var listenerProviders []func() []gala.Registration -// registerListeners adds a listener family constructor to the registry; call it from an -// init function in the file that declares the constructor -func registerListeners(provider func() []gala.Registration) { - listenerProviders = append(listenerProviders, provider) +// registerListeners takes in a variadic amount of listeners and sets them up +func registerListeners(providers ...func() []gala.Registration) { + listenerProviders = append(listenerProviders, providers...) } // AllListeners builds the registrations for every listener family in this package; the diff --git a/internal/ent/hooks/listeners_scan_domain.go b/internal/ent/hooks/listeners_scan_domain.go index d8216475fe..9d192897ad 100644 --- a/internal/ent/hooks/listeners_scan_domain.go +++ b/internal/ent/hooks/listeners_scan_domain.go @@ -16,9 +16,6 @@ import ( "github.com/theopenlane/core/v2/pkg/gala" ) -// init registers the domain scan listeners so gala setup picks them up automatically -func init() { registerListeners(DomainScanListeners) } - // DomainScanListeners submits pending domain scans and requests scans for changed // organization domains func DomainScanListeners() []gala.Registration { diff --git a/internal/ent/hooks/listeners_subscriber_link.go b/internal/ent/hooks/listeners_subscriber_link.go index 9bd3bc6414..9f284a8dbd 100644 --- a/internal/ent/hooks/listeners_subscriber_link.go +++ b/internal/ent/hooks/listeners_subscriber_link.go @@ -14,9 +14,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the subscriber link listeners so gala setup picks them up automatically -func init() { registerListeners(SubscriberLinkListeners) } - // SubscriberLinkListeners links a newly created subscriber to an existing contact and/or user with a matching email func SubscriberLinkListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_task_rules.go b/internal/ent/hooks/listeners_task_rules.go index d99b7a9bd0..d5cf2c4a69 100644 --- a/internal/ent/hooks/listeners_task_rules.go +++ b/internal/ent/hooks/listeners_task_rules.go @@ -28,9 +28,6 @@ import ( "github.com/theopenlane/core/common/enums" ) -// init registers the task rule listeners so gala setup picks them up automatically -func init() { registerListeners(TaskRuleListeners) } - // TaskRuleListeners evaluates schema task rules on mutation and creates suggested tasks func TaskRuleListeners() []gala.Registration { return lo.Map(entityops.TaskRuleEligibleSchemas(), func(schema *entityops.Schema, _ int) gala.Registration { diff --git a/internal/ent/hooks/listeners_trustcenter_cache.go b/internal/ent/hooks/listeners_trustcenter_cache.go index c273c23dc1..ff86e61b30 100644 --- a/internal/ent/hooks/listeners_trustcenter_cache.go +++ b/internal/ent/hooks/listeners_trustcenter_cache.go @@ -32,9 +32,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the trust center cache listeners so gala setup picks them up automatically -func init() { registerListeners(TrustCenterCacheListeners) } - // trustCenterSoftDeleteKeys lets cache listeners load soft-deleted rows var trustCenterSoftDeleteKeys = []func(context.Context) context.Context{entx.SkipSoftDelete} diff --git a/internal/ent/hooks/listeners_trustcenter_watermark.go b/internal/ent/hooks/listeners_trustcenter_watermark.go index d38329c309..fd0a467080 100644 --- a/internal/ent/hooks/listeners_trustcenter_watermark.go +++ b/internal/ent/hooks/listeners_trustcenter_watermark.go @@ -9,9 +9,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the trust center watermark listeners so gala setup picks them up automatically -func init() { registerListeners(TrustCenterWatermarkListeners) } - // TrustCenterWatermarkListeners enqueues watermarking jobs when trust center document files change func TrustCenterWatermarkListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_vendorscoring.go b/internal/ent/hooks/listeners_vendorscoring.go index e1d6d6c6f1..7387ed9856 100644 --- a/internal/ent/hooks/listeners_vendorscoring.go +++ b/internal/ent/hooks/listeners_vendorscoring.go @@ -13,9 +13,6 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) -// init registers the vendor scoring listeners so gala setup picks them up automatically -func init() { registerListeners(VendorScoringListeners) } - // VendorScoringListeners recomputes entity risk aggregates when vendor scoring configuration changes func VendorScoringListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_workflow.go b/internal/ent/hooks/listeners_workflow.go index 1f018537eb..078fafcf5f 100644 --- a/internal/ent/hooks/listeners_workflow.go +++ b/internal/ent/hooks/listeners_workflow.go @@ -12,9 +12,6 @@ import ( "github.com/theopenlane/core/v2/pkg/gala" ) -// init registers the workflow listeners so gala setup picks them up automatically -func init() { registerListeners(WorkflowListeners) } - // workflowMutationListenerLabel identifies the workflow mutation listener family in // dependency-resolution skip logs const workflowMutationListenerLabel = "workflow.mutation" diff --git a/internal/ent/hooks/onboarding.go b/internal/ent/hooks/onboarding.go index 4d20db0fc1..aa6b9b9a92 100644 --- a/internal/ent/hooks/onboarding.go +++ b/internal/ent/hooks/onboarding.go @@ -57,7 +57,7 @@ func HookOnboarding() ent.Hook { } compliance, _ := m.Compliance() - if err := createProgram(ctx, m.Client(), org, compliance); err != nil { + if _, _, err := resolveOnboardingStandards(ctx, m.Client(), org.ID, compliance); err != nil { return nil, err } diff --git a/internal/graphapi/eventstest/listeners_onboarding_program_test.go b/internal/graphapi/eventstest/listeners_onboarding_program_test.go new file mode 100644 index 0000000000..39a88d04da --- /dev/null +++ b/internal/graphapi/eventstest/listeners_onboarding_program_test.go @@ -0,0 +1,61 @@ +//go:build test + +package eventstest_test + +import ( + "context" + "testing" + + "gotest.tools/v3/assert" + + "github.com/theopenlane/core/v2/internal/ent/generated" + "github.com/theopenlane/core/v2/internal/ent/generated/privacy" + "github.com/theopenlane/core/v2/internal/ent/generated/program" + "github.com/theopenlane/core/v2/internal/ent/hooks" + "github.com/theopenlane/core/v2/internal/graphapi" + th "github.com/theopenlane/core/v2/internal/graphapi/testharness" +) + +func TestOnboardingProgramListener(t *testing.T) { + + setup, err := graphapi.SetupListenerRuntime(suite.GalaRuntime, hooks.OnboardingProgramListeners()) + assert.NilError(t, err) + defer setup.Teardown() + + user := suite.UserBuilder(context.Background(), t) + ctx := th.SetContext(user.UserCtx, suite.Client.DB) + allowCtx := privacy.DecisionContext(ctx, privacy.Allow) + + tx, err := suite.Client.DB.Tx(ctx) + assert.NilError(t, err) + defer tx.Rollback() + txCtx := generated.NewContext(generated.NewTxContext(ctx, tx), tx.Client()) + + onboarding, err := tx.Client().Onboarding.Create(). + SetInput(generated.CreateOnboardingInput{ + CompanyName: "Program Co one", + Compliance: map[string]interface{}{ + "frameworks": []string{"other", "other"}, + "auditor_name": "New Auditor", + "auditor_email": "auditor@example.com", + }, + }).Save(txCtx) + assert.NilError(t, err) + + ok, err := tx.Client().Program.Query(). + Where(program.OwnerID(onboarding.OrganizationID)). + Exist(privacy.DecisionContext(txCtx, privacy.Allow)) + assert.NilError(t, err) + assert.Assert(t, !ok) + assert.NilError(t, tx.Commit()) + waitForGala(t, setup.Runtime) + + created, err := suite.Client.DB.Program.Query(). + Where(program.OwnerID(onboarding.OrganizationID)). + Only(allowCtx) + assert.NilError(t, err) + assert.Equal(t, created.FrameworkName, "Other") + assert.Equal(t, created.Auditor, "New Auditor") + assert.Equal(t, created.AuditorEmail, "auditor@example.com") + +} From 65642225f2dcd8fd4cdceb68007350ff01e41716 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Fri, 11 Sep 2026 01:59:28 +0100 Subject: [PATCH 04/12] register listener in test --- internal/ent/hooks/listeners_task_rules_test.go | 4 ++-- internal/ent/hooks/onboarding_test.go | 4 ++-- internal/ent/hooks/tools_test.go | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/internal/ent/hooks/listeners_task_rules_test.go b/internal/ent/hooks/listeners_task_rules_test.go index a6b47d0522..3db5ca0876 100644 --- a/internal/ent/hooks/listeners_task_rules_test.go +++ b/internal/ent/hooks/listeners_task_rules_test.go @@ -160,6 +160,8 @@ func (suite *HookTestSuite) TestOnboardingCreatesProgramWithSelectedFrameworks() }).Save(ctx) require.NoError(t, err) + suite.waitForEvents() + created, err := suite.client.Program.Query().Where(program.OwnerIDEQ(onboarding.OrganizationID)). WithControls(func(q *generated.ControlQuery) { q.WithSubcontrols() }). WithMembers().Only(ctx) @@ -186,8 +188,6 @@ func (suite *HookTestSuite) TestOnboardingCreatesProgramWithSelectedFrameworks() "iso27001-Confidentiality", "iso27001-Processing Integrity", "iso27001-Privacy", }, refs) - suite.waitForEvents() - tasks, err := suite.client.Task.Query().Where(task.OwnerIDEQ(onboarding.OrganizationID)).All(ctx) require.NoError(t, err) require.NotEmpty(t, tasks) diff --git a/internal/ent/hooks/onboarding_test.go b/internal/ent/hooks/onboarding_test.go index d1abf5ef70..f7c25da1cb 100644 --- a/internal/ent/hooks/onboarding_test.go +++ b/internal/ent/hooks/onboarding_test.go @@ -185,6 +185,8 @@ func (suite *HookTestSuite) TestOnboardingProgramFrameworkSelections() { } require.NoError(t, err) + suite.waitForEvents() + programs, err := suite.client.Program.Query().Where(program.OwnerIDEQ(onboarding.OrganizationID)).WithControls().All(ctx) require.NoError(t, err) require.Len(t, programs, tc.programCount) @@ -193,8 +195,6 @@ func (suite *HookTestSuite) TestOnboardingProgramFrameworkSelections() { assert.Len(t, programs[0].Edges.Controls, tc.controlCount) } - suite.waitForEvents() - taskCount, err := suite.client.Task.Query().Where( task.OwnerIDEQ(onboarding.OrganizationID), task.SourceKeyEQ("onboarding-"+taskrules.RuleFrameworkGeneric), diff --git a/internal/ent/hooks/tools_test.go b/internal/ent/hooks/tools_test.go index e956e28c17..4baec07084 100644 --- a/internal/ent/hooks/tools_test.go +++ b/internal/ent/hooks/tools_test.go @@ -162,6 +162,9 @@ func (suite *HookTestSuite) setupClient() *generated.Client { _, err = gala.Register(galaRuntime, hooks.TaskRuleListeners()...) require.NoError(t, err) + _, err = gala.Register(galaRuntime, hooks.OnboardingProgramListeners()...) + require.NoError(t, err) + _, err = gala.Register(galaRuntime, hooks.CampaignRecurringListeners()...) require.NoError(t, err) From 24b9121adac35a21203f9e8c009494cce32fe7f7 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Fri, 11 Sep 2026 15:20:35 +0100 Subject: [PATCH 05/12] add schemautil for tags --- .task/checksum/generate-graphql-smart | 2 +- cli/go.mod | 10 +- cli/go.sum | 21 +- common/go.mod | 12 +- common/go.sum | 21 +- .../ent/checksum/.history_schema_checksum | 2 +- .../generate/templates/entgql/gql_where.tmpl | 6 +- internal/ent/generated/gql_where_input.go | 124 +-- .../ent/historygenerated/gql_where_input.go | 97 +-- internal/ent/schemautil/tags.go | 16 + .../checksum/.history_schema_checksum | 2 +- internal/graphapi/checksum/.schema_checksum | 2 +- .../clientschema/checksum/.schema_checksum | 2 +- internal/graphapi/evidence_test.go | 56 ++ .../generated/actionplan.generated.go | 24 - .../graphapi/generated/apitoken.generated.go | 24 - .../generated/assessment.generated.go | 20 - .../generated/assessmentresponse.generated.go | 8 - .../graphapi/generated/asset.generated.go | 24 - .../graphapi/generated/campaign.generated.go | 16 - .../generated/campaignextended.generated.go | 12 - .../generated/campaigntarget.generated.go | 16 - .../generated/checkresult.generated.go | 24 - .../graphapi/generated/contact.generated.go | 24 - .../graphapi/generated/control.generated.go | 24 - .../generated/controlextended.generated.go | 8 - .../controlimplementation.generated.go | 24 - .../generated/controlobjective.generated.go | 24 - .../generated/controlreport.generated.go | 4 - .../generated/customdomain.generated.go | 28 - .../generated/customtypeenum.generated.go | 16 - .../generated/directoryaccount.generated.go | 16 - .../generated/directorygroup.generated.go | 16 - .../directorymembership.generated.go | 16 - .../generated/directorysyncrun.generated.go | 16 - .../generated/discussion.generated.go | 16 - .../generated/dnsverification.generated.go | 24 - .../generated/documentdata.generated.go | 24 - .../generated/domainscanextended.generated.go | 4 - .../generated/emailtemplate.generated.go | 24 - .../emailtemplateextended.generated.go | 4 - internal/graphapi/generated/ent.generated.go | 708 ------------------ .../graphapi/generated/entity.generated.go | 24 - .../generated/entitytype.generated.go | 24 - .../graphapi/generated/event.generated.go | 24 - .../graphapi/generated/evidence.generated.go | 24 - .../graphapi/generated/export.generated.go | 16 - internal/graphapi/generated/file.generated.go | 4 - .../graphapi/generated/finding.generated.go | 24 - .../generated/findingcontrol.generated.go | 20 - .../graphapi/generated/group.generated.go | 24 - .../generated/groupextended.generated.go | 4 - .../generated/groupmembership.generated.go | 24 - .../generated/groupsetting.generated.go | 24 - internal/graphapi/generated/hush.generated.go | 24 - .../generated/identityholder.generated.go | 24 - .../generated/integration.generated.go | 4 - .../generated/internalpolicy.generated.go | 24 - .../graphapi/generated/invite.generated.go | 24 - .../generated/mappabledomain.generated.go | 24 - .../generated/mappedcontrol.generated.go | 24 - .../graphapi/generated/narrative.generated.go | 24 - internal/graphapi/generated/note.generated.go | 4 - .../generated/notification.generated.go | 12 - .../notificationpreference.generated.go | 24 - .../notificationtemplate.generated.go | 24 - .../generated/onboarding.generated.go | 4 - .../generated/organization.generated.go | 12 - .../organizationsetting.generated.go | 24 - .../generated/orgextended.generated.go | 4 - .../generated/orgmembership.generated.go | 24 - .../personalaccesstoken.generated.go | 12 - .../graphapi/generated/platform.generated.go | 16 - .../graphapi/generated/procedure.generated.go | 24 - .../graphapi/generated/program.generated.go | 24 - .../generated/programmembership.generated.go | 24 - .../generated/remediation.generated.go | 24 - .../graphapi/generated/review.generated.go | 24 - internal/graphapi/generated/risk.generated.go | 24 - internal/graphapi/generated/scan.generated.go | 24 - .../generated/sladefinition.generated.go | 24 - .../graphapi/generated/standard.generated.go | 12 - .../generated/subcontrol.generated.go | 24 - .../generated/subprocessor.generated.go | 24 - .../generated/subscriber.generated.go | 16 - .../generated/systemdetail.generated.go | 24 - .../generated/tagdefinition.generated.go | 16 - internal/graphapi/generated/task.generated.go | 24 - .../graphapi/generated/template.generated.go | 24 - .../generated/tfasetting.generated.go | 8 - .../generated/trustcenter.generated.go | 12 - .../trustcentercompliance.generated.go | 24 - .../generated/trustcenterdoc.generated.go | 24 - .../generated/trustcenterdomain.generated.go | 4 - .../generated/trustcenterentity.generated.go | 16 - .../generated/trustcenterfaq.generated.go | 24 - .../generated/trustcenternda.generated.go | 12 - .../trustcenterndarequest.generated.go | 28 - .../trustcenterpreviewsetting.generated.go | 4 - .../generated/trustcentersetting.generated.go | 12 - .../trustcentersubprocessor.generated.go | 24 - .../trustcenterwatermarkconfig.generated.go | 12 - internal/graphapi/generated/user.generated.go | 12 - .../generated/usersetting.generated.go | 20 - .../generated/vendorriskscore.generated.go | 24 - .../vendorscoringconfig.generated.go | 24 - .../generated/vulnerability.generated.go | 24 - .../vulnerability_extended.generated.go | 4 - .../vulnerability_summary.generated.go | 4 - .../graphapi/generated/webauthn.generated.go | 4 - .../generated/workflowadmin.generated.go | 12 - .../workflowassignmentextended.generated.go | 8 - .../generated/workflowdefinition.generated.go | 16 - .../workflowdefinitionextended.generated.go | 4 - .../workflowproposalextended.generated.go | 12 - .../historygenerated/ent.generated.go | 264 ------- .../checksum/.history_schema_checksum | 2 +- internal/graphapi/model/gen_models.go | 6 +- internal/graphapi/testclient/models.go | 186 ++--- internal/graphapi/testharness/models.go | 6 + 120 files changed, 323 insertions(+), 2998 deletions(-) create mode 100644 internal/ent/schemautil/tags.go diff --git a/.task/checksum/generate-graphql-smart b/.task/checksum/generate-graphql-smart index f176f75b03..f6a21fe1a0 100644 --- a/.task/checksum/generate-graphql-smart +++ b/.task/checksum/generate-graphql-smart @@ -1 +1 @@ -bbb23181fcce78ae15d7767856760ff3 +c66a0965aef5ebe5442c50bcb29ae0d diff --git a/cli/go.mod b/cli/go.mod index 295281f047..7c5fd450dc 100644 --- a/cli/go.mod +++ b/cli/go.mod @@ -19,7 +19,7 @@ require ( github.com/spf13/cobra v1.10.2 github.com/theopenlane/core/common v1.1.0 github.com/theopenlane/core/v2 v2.4.5 - github.com/theopenlane/go-client v0.13.1 + github.com/theopenlane/go-client v0.14.0 github.com/theopenlane/httpsling v0.3.0 github.com/theopenlane/iam v0.38.2 github.com/theopenlane/utils v0.7.1 @@ -28,6 +28,7 @@ require ( ) require ( + github.com/alicebob/miniredis/v2 v2.39.0 // indirect github.com/antlr4-go/antlr/v4 v4.13.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/clipperhouse/displaywidth v0.10.0 // indirect @@ -98,9 +99,10 @@ require ( github.com/x448/float16 v0.8.4 // indirect github.com/zalando/go-keyring v0.2.8 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel v1.45.0 // indirect - go.opentelemetry.io/otel/metric v1.45.0 // indirect - go.opentelemetry.io/otel/trace v1.45.0 // indirect + go.opentelemetry.io/otel v1.46.0 // indirect + go.opentelemetry.io/otel/metric v1.46.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.46.0 // indirect + go.opentelemetry.io/otel/trace v1.46.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.yaml.in/yaml/v3 v3.0.5 // indirect golang.org/x/crypto v0.55.0 // indirect diff --git a/cli/go.sum b/cli/go.sum index 91a9472886..c6aa736d7d 100644 --- a/cli/go.sum +++ b/cli/go.sum @@ -4,8 +4,7 @@ github.com/TylerBrock/colorjson v0.0.0-20200706003622-8a50f05110d2 h1:ZBbLwSJqkH github.com/TylerBrock/colorjson v0.0.0-20200706003622-8a50f05110d2/go.mod h1:VSw57q4QFiWDbRnjdX8Cb3Ow0SFncRw+bA/ofY6Q83w= github.com/agnivade/levenshtein v1.2.1 h1:EHBY3UOn1gwdy/VbFwgo4cxecRznFk7fKWN1KOX7eoM= github.com/agnivade/levenshtein v1.2.1/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU= -github.com/alicebob/miniredis/v2 v2.38.0 h1:nZAzCR+Lj+Vxk4ZXzm2NuKq2O33RXj1XxJ2e2uP9jiw= -github.com/alicebob/miniredis/v2 v2.38.0/go.mod h1:TcL7YfarKPGDAthEtl5NBeHZfeUQj6OXMm/+iu5cLMM= +github.com/alicebob/miniredis/v2 v2.39.0 h1:M7WbmV5BmV56L8KTG0rw6vEQ+woTOghpDgin2xv4A0g= github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= github.com/bsm/ginkgo/v2 v2.12.0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs= @@ -201,8 +200,7 @@ github.com/theopenlane/core/v2 v2.4.5 h1:ehGE4Zzz19UbDytJjFhK4L2K2SFEOCPd8NOzJtu github.com/theopenlane/core/v2 v2.4.5/go.mod h1:3HKJ1R3KBx27OMuCueAzo8scoKTNZ5RGIsRsRmDc7u4= github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA= github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM= -github.com/theopenlane/go-client v0.13.1 h1:9n/LCMRqWn/dGxkM9dNpeVbh7MwF2GCACmvjraMJvxE= -github.com/theopenlane/go-client v0.13.1/go.mod h1:g5i+gYjkih1SSgY/lFi4p302cLZBOJ8pgCFf02eZKaI= +github.com/theopenlane/go-client v0.14.0 h1:NFU8fUZlS9VUGSTP64G2DbM3K4z9P1Ki4fJDwvwXXFI= github.com/theopenlane/httpsling v0.3.0 h1:Bad0dGdqCqAB8UVDyVo+YCevzRvGHhmkK22F7T3pXtY= github.com/theopenlane/httpsling v0.3.0/go.mod h1:iJc3XRLYTFIpfCnPpLZVMBP0xsWIPAb7ozARtQoclAE= github.com/theopenlane/iam v0.38.2 h1:NfaT0u80zY4lZk/IkWro4WxY82+wKB9F0mWHDdvY418= @@ -235,16 +233,11 @@ github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs= github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.45.0 h1:pdrWmLHofpubmArBv1LgFSv1Z0Ie/ppdZzu+kUN5EeU= -go.opentelemetry.io/otel v1.45.0/go.mod h1:XZxIqPapzEYnhNSScF5DIqXhm/rYi0FzCe2XddAwZfQ= -go.opentelemetry.io/otel/metric v1.45.0 h1:7Eg1uH7CJ5cXv9is6tnBe1FI6rj1nwUdbFypRm3br/M= -go.opentelemetry.io/otel/metric v1.45.0/go.mod h1:HAPbm1nd3p1PmFH7v2dR+6BjXxw+Lq4a2+pndMAm08s= -go.opentelemetry.io/otel/sdk v1.45.0 h1:4VVSMgQ83dUgW2aoX5f6JgLvHwIvzcuLnF9lUdCSpCw= -go.opentelemetry.io/otel/sdk v1.45.0/go.mod h1:Sr40LgXV7DsKMMJMKOhUWOgMWTfAaqvm2kF0g7ilwuA= -go.opentelemetry.io/otel/sdk/metric v1.45.0 h1:oVFszMfyj1Am6s24Vtc7wBb8BKLcwepJjNEYILuiE3o= -go.opentelemetry.io/otel/sdk/metric v1.45.0/go.mod h1:vUWUxDZvu1WVRj8JA8S0AdhsPrZoDpA2DdZauIh4mDA= -go.opentelemetry.io/otel/trace v1.45.0 h1:l/mP6Uv7oNO7/TblbhpbgMidxhq1uO/rPsikOyVhxag= -go.opentelemetry.io/otel/trace v1.45.0/go.mod h1:qoJJA2xNMnxRrdISU/kLtfUH2wNeQbiv+jhs/CxI8bc= +go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc= +go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8= +go.opentelemetry.io/otel/sdk v1.46.0 h1:h5CNQQjEbuQXY/JfZtgt3i7HVFV3aHPO2OAwO2eTYPI= +go.opentelemetry.io/otel/sdk/metric v1.46.0 h1:0piZ26EG4RBfebb2jhDH6ERCYHoVWduc3kLgPCwSnSE= +go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y= diff --git a/common/go.mod b/common/go.mod index 8388520cd0..0316d824f5 100644 --- a/common/go.mod +++ b/common/go.mod @@ -23,7 +23,7 @@ require ( require ( ariga.io/atlas v1.3.0 // indirect entgo.io/contrib v0.7.0 // indirect - github.com/99designs/gqlgen v0.17.94 // indirect + github.com/99designs/gqlgen v0.17.95 // indirect github.com/XSAM/otelsql v0.43.0 // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/agnivade/levenshtein v1.2.1 // indirect @@ -66,7 +66,7 @@ require ( github.com/tidwall/pretty v1.2.1 // indirect github.com/tidwall/sjson v1.2.5 // indirect github.com/tinylib/msgp v1.6.4 // indirect - github.com/vektah/gqlparser/v2 v2.5.36 // indirect + github.com/vektah/gqlparser/v2 v2.5.37 // indirect github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/x448/float16 v0.8.4 // indirect @@ -74,9 +74,11 @@ require ( github.com/zclconf/go-cty-yaml v1.2.0 // indirect github.com/zitadel/schema v1.3.2 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel v1.45.0 // indirect - go.opentelemetry.io/otel/metric v1.45.0 // indirect - go.opentelemetry.io/otel/trace v1.45.0 // indirect + go.opentelemetry.io/otel v1.46.0 // indirect + go.opentelemetry.io/otel/metric v1.46.0 // indirect + go.opentelemetry.io/otel/sdk v1.46.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.46.0 // indirect + go.opentelemetry.io/otel/trace v1.46.0 // indirect go.yaml.in/yaml/v3 v3.0.5 // indirect golang.org/x/crypto v0.55.0 // indirect golang.org/x/exp v0.0.0-20260820142414-ca536658362e // indirect diff --git a/common/go.sum b/common/go.sum index 8f35d36621..6f54776af8 100644 --- a/common/go.sum +++ b/common/go.sum @@ -4,8 +4,7 @@ entgo.io/contrib v0.7.0 h1:4Ghx8O0rqSMmca3FIJ6QyZbQAoLvdzWqLMl1MbHFEEw= entgo.io/contrib v0.7.0/go.mod h1:zbPSUrbn+6dfyv8S9HWEvn1MyGpO95ik2lUNgaqWTt4= entgo.io/ent v0.14.6 h1:/f2696BpwuWAEEG6PVGWflg6+Inrpq4pRWuNlWz/Skk= entgo.io/ent v0.14.6/go.mod h1:z46QBUdGC+BATwsedbDuREfSS0oSCV+csdEYlL4p73s= -github.com/99designs/gqlgen v0.17.94 h1:+3EUDVgX/8gDyDL+7NUqCo4cy2ylylwW0GvR1dGiEsA= -github.com/99designs/gqlgen v0.17.94/go.mod h1:o+XaAMpPA/AX4rqeiK03tZUb/5T+WCgpRDD4aujgdas= +github.com/99designs/gqlgen v0.17.95 h1:882h7F5iJImgtyUVttc4MOK2NbzbMYc2oyNeHqkjpP4= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/XSAM/otelsql v0.43.0 h1:ZIhXqRoMhILXQwBQoq/Dl6Taap/KEFQXZrWjYV1L8X8= @@ -165,8 +164,7 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= github.com/tinylib/msgp v1.6.4 h1:mOwYbyYDLPj35mkA2BjjYejgJk9BuHxDdvRnb6v2ZcQ= github.com/tinylib/msgp v1.6.4/go.mod h1:RSp0LW9oSxFut3KzESt5Voq4GVWyS+PSulT77roAqEA= -github.com/vektah/gqlparser/v2 v2.5.36 h1:CN9mKVHgMkc+XftdOWIhb4HEL8wKSYkFAqhf8booa7s= -github.com/vektah/gqlparser/v2 v2.5.36/go.mod h1:cAJ9qwVgPaUkWv6Gn8vn0mqOE0Ui5Pn56wNy5396XWo= +github.com/vektah/gqlparser/v2 v2.5.37 h1:jbb1Ilv+xBklV6653tKb4oVUupPNTLb5LmrnBKVI12Y= github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= @@ -185,16 +183,11 @@ github.com/zitadel/schema v1.3.2 h1:gfJvt7dOMfTmxzhscZ9KkapKo3Nei3B6cAxjav+lyjI= github.com/zitadel/schema v1.3.2/go.mod h1:IZmdfF9Wu62Zu6tJJTH3UsArevs3Y4smfJIj3L8fzxw= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.45.0 h1:pdrWmLHofpubmArBv1LgFSv1Z0Ie/ppdZzu+kUN5EeU= -go.opentelemetry.io/otel v1.45.0/go.mod h1:XZxIqPapzEYnhNSScF5DIqXhm/rYi0FzCe2XddAwZfQ= -go.opentelemetry.io/otel/metric v1.45.0 h1:7Eg1uH7CJ5cXv9is6tnBe1FI6rj1nwUdbFypRm3br/M= -go.opentelemetry.io/otel/metric v1.45.0/go.mod h1:HAPbm1nd3p1PmFH7v2dR+6BjXxw+Lq4a2+pndMAm08s= -go.opentelemetry.io/otel/sdk v1.45.0 h1:4VVSMgQ83dUgW2aoX5f6JgLvHwIvzcuLnF9lUdCSpCw= -go.opentelemetry.io/otel/sdk v1.45.0/go.mod h1:Sr40LgXV7DsKMMJMKOhUWOgMWTfAaqvm2kF0g7ilwuA= -go.opentelemetry.io/otel/sdk/metric v1.45.0 h1:oVFszMfyj1Am6s24Vtc7wBb8BKLcwepJjNEYILuiE3o= -go.opentelemetry.io/otel/sdk/metric v1.45.0/go.mod h1:vUWUxDZvu1WVRj8JA8S0AdhsPrZoDpA2DdZauIh4mDA= -go.opentelemetry.io/otel/trace v1.45.0 h1:l/mP6Uv7oNO7/TblbhpbgMidxhq1uO/rPsikOyVhxag= -go.opentelemetry.io/otel/trace v1.45.0/go.mod h1:qoJJA2xNMnxRrdISU/kLtfUH2wNeQbiv+jhs/CxI8bc= +go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc= +go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8= +go.opentelemetry.io/otel/sdk v1.46.0 h1:h5CNQQjEbuQXY/JfZtgt3i7HVFV3aHPO2OAwO2eTYPI= +go.opentelemetry.io/otel/sdk/metric v1.46.0 h1:0piZ26EG4RBfebb2jhDH6ERCYHoVWduc3kLgPCwSnSE= +go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y= diff --git a/internal/ent/checksum/.history_schema_checksum b/internal/ent/checksum/.history_schema_checksum index c36c8a5c19..d9e090635b 100644 --- a/internal/ent/checksum/.history_schema_checksum +++ b/internal/ent/checksum/.history_schema_checksum @@ -1 +1 @@ -b9edabf688d328af9432ce6746c4cb1d37e80d1bfc654de1d6ba82052dad0552 \ No newline at end of file +8559d9490a3f7ba3055629e22123e9548f6ccad490852a8318b73a7623cbb71f \ No newline at end of file diff --git a/internal/ent/generate/templates/entgql/gql_where.tmpl b/internal/ent/generate/templates/entgql/gql_where.tmpl index 4b51f2d3f5..968e9d488f 100644 --- a/internal/ent/generate/templates/entgql/gql_where.tmpl +++ b/internal/ent/generate/templates/entgql/gql_where.tmpl @@ -243,7 +243,11 @@ import ( if i.{{ $f.StructField }}Has != nil { v := *i.{{ $f.StructField }}Has predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains({{ $col }}, v)) + {{- if eq $f.Name "tags" }} + s.Where(schemautil.TagsHasFold(s.C({{ $col }}), v)) + {{- else }} + s.Where(sqljson.ValueContains({{ $col }}, v)) + {{- end }} }) } {{- end }} diff --git a/internal/ent/generated/gql_where_input.go b/internal/ent/generated/gql_where_input.go index 00eca07e6e..fad658a6bb 100644 --- a/internal/ent/generated/gql_where_input.go +++ b/internal/ent/generated/gql_where_input.go @@ -705,7 +705,7 @@ func (i *APITokenWhereInput) P() (predicate.APIToken, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(apitoken.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(apitoken.FieldTags), v)) }) } @@ -2229,7 +2229,7 @@ func (i *ActionPlanWhereInput) P() (predicate.ActionPlan, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplan.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(actionplan.FieldTags), v)) }) } @@ -3305,7 +3305,7 @@ func (i *AssessmentWhereInput) P() (predicate.Assessment, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(assessment.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(assessment.FieldTags), v)) }) } @@ -6864,7 +6864,7 @@ func (i *AssetWhereInput) P() (predicate.Asset, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(asset.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(asset.FieldTags), v)) }) } @@ -9049,7 +9049,7 @@ func (i *CampaignWhereInput) P() (predicate.Campaign, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(campaign.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(campaign.FieldTags), v)) }) } @@ -10995,7 +10995,7 @@ func (i *CheckResultWhereInput) P() (predicate.CheckResult, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(checkresult.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(checkresult.FieldTags), v)) }) } @@ -11919,7 +11919,7 @@ func (i *ContactWhereInput) P() (predicate.Contact, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(contact.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(contact.FieldTags), v)) }) } @@ -13940,7 +13940,7 @@ func (i *ControlWhereInput) P() (predicate.Control, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(control.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(control.FieldTags), v)) }) } @@ -15301,7 +15301,7 @@ func (i *ControlImplementationWhereInput) P() (predicate.ControlImplementation, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(controlimplementation.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(controlimplementation.FieldTags), v)) }) } @@ -16324,7 +16324,7 @@ func (i *ControlObjectiveWhereInput) P() (predicate.ControlObjective, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(controlobjective.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(controlobjective.FieldTags), v)) }) } @@ -17249,7 +17249,7 @@ func (i *CustomDomainWhereInput) P() (predicate.CustomDomain, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(customdomain.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(customdomain.FieldTags), v)) }) } @@ -18993,7 +18993,7 @@ func (i *DNSVerificationWhereInput) P() (predicate.DNSVerification, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(dnsverification.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(dnsverification.FieldTags), v)) }) } @@ -20898,7 +20898,7 @@ func (i *DirectoryAccountWhereInput) P() (predicate.DirectoryAccount, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(directoryaccount.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(directoryaccount.FieldTags), v)) }) } @@ -22415,7 +22415,7 @@ func (i *DirectoryGroupWhereInput) P() (predicate.DirectoryGroup, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(directorygroup.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(directorygroup.FieldTags), v)) }) } @@ -26293,7 +26293,7 @@ func (i *DocumentDataWhereInput) P() (predicate.DocumentData, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(documentdata.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(documentdata.FieldTags), v)) }) } @@ -30371,7 +30371,7 @@ func (i *EntityWhereInput) P() (predicate.Entity, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entity.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(entity.FieldTags), v)) }) } @@ -31711,7 +31711,7 @@ func (i *EntityTypeWhereInput) P() (predicate.EntityType, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entitytype.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(entitytype.FieldTags), v)) }) } @@ -32205,7 +32205,7 @@ func (i *EventWhereInput) P() (predicate.Event, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(event.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(event.FieldTags), v)) }) } @@ -33541,7 +33541,7 @@ func (i *EvidenceWhereInput) P() (predicate.Evidence, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(evidence.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(evidence.FieldTags), v)) }) } @@ -36004,7 +36004,7 @@ func (i *FileWhereInput) P() (predicate.File, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(file.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(file.FieldTags), v)) }) } @@ -38875,7 +38875,7 @@ func (i *FindingWhereInput) P() (predicate.Finding, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(finding.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(finding.FieldTags), v)) }) } @@ -41307,7 +41307,7 @@ func (i *GroupWhereInput) P() (predicate.Group, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(group.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(group.FieldTags), v)) }) } @@ -45612,7 +45612,7 @@ func (i *IdentityHolderWhereInput) P() (predicate.IdentityHolder, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(identityholder.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(identityholder.FieldTags), v)) }) } @@ -47318,7 +47318,7 @@ func (i *IntegrationWhereInput) P() (predicate.Integration, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(integration.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(integration.FieldTags), v)) }) } @@ -49281,7 +49281,7 @@ func (i *InternalPolicyWhereInput) P() (predicate.InternalPolicy, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicy.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(internalpolicy.FieldTags), v)) }) } @@ -50860,7 +50860,7 @@ func (i *MappableDomainWhereInput) P() (predicate.MappableDomain, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(mappabledomain.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(mappabledomain.FieldTags), v)) }) } @@ -51511,7 +51511,7 @@ func (i *MappedControlWhereInput) P() (predicate.MappedControl, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(mappedcontrol.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(mappedcontrol.FieldTags), v)) }) } @@ -52324,7 +52324,7 @@ func (i *NarrativeWhereInput) P() (predicate.Narrative, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(narrative.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(narrative.FieldTags), v)) }) } @@ -57226,7 +57226,7 @@ func (i *OrgSubscriptionWhereInput) P() (predicate.OrgSubscription, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(orgsubscription.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(orgsubscription.FieldTags), v)) }) } @@ -58457,7 +58457,7 @@ func (i *OrganizationWhereInput) P() (predicate.Organization, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organization.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(organization.FieldTags), v)) }) } @@ -62476,7 +62476,7 @@ func (i *OrganizationSettingWhereInput) P() (predicate.OrganizationSetting, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsetting.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(organizationsetting.FieldTags), v)) }) } @@ -63119,7 +63119,7 @@ func (i *PersonalAccessTokenWhereInput) P() (predicate.PersonalAccessToken, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(personalaccesstoken.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(personalaccesstoken.FieldTags), v)) }) } @@ -65862,7 +65862,7 @@ func (i *PlatformWhereInput) P() (predicate.Platform, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(platform.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(platform.FieldTags), v)) }) } @@ -68264,7 +68264,7 @@ func (i *ProcedureWhereInput) P() (predicate.Procedure, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedure.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(procedure.FieldTags), v)) }) } @@ -69854,7 +69854,7 @@ func (i *ProgramWhereInput) P() (predicate.Program, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(program.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(program.FieldTags), v)) }) } @@ -72392,7 +72392,7 @@ func (i *RemediationWhereInput) P() (predicate.Remediation, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(remediation.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(remediation.FieldTags), v)) }) } @@ -74216,7 +74216,7 @@ func (i *ReviewWhereInput) P() (predicate.Review, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(review.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(review.FieldTags), v)) }) } @@ -76293,7 +76293,7 @@ func (i *RiskWhereInput) P() (predicate.Risk, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(risk.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(risk.FieldTags), v)) }) } @@ -77288,7 +77288,7 @@ func (i *SLADefinitionWhereInput) P() (predicate.SLADefinition, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(sladefinition.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(sladefinition.FieldTags), v)) }) } @@ -78802,7 +78802,7 @@ func (i *ScanWhereInput) P() (predicate.Scan, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(scan.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(scan.FieldTags), v)) }) } @@ -80370,7 +80370,7 @@ func (i *StandardWhereInput) P() (predicate.Standard, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(standard.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(standard.FieldTags), v)) }) } @@ -82128,7 +82128,7 @@ func (i *SubcontrolWhereInput) P() (predicate.Subcontrol, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subcontrol.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(subcontrol.FieldTags), v)) }) } @@ -83314,7 +83314,7 @@ func (i *SubprocessorWhereInput) P() (predicate.Subprocessor, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subprocessor.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(subprocessor.FieldTags), v)) }) } @@ -84075,7 +84075,7 @@ func (i *SubscriberWhereInput) P() (predicate.Subscriber, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subscriber.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(subscriber.FieldTags), v)) }) } @@ -84848,7 +84848,7 @@ func (i *SystemDetailWhereInput) P() (predicate.SystemDetail, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(systemdetail.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(systemdetail.FieldTags), v)) }) } @@ -87336,7 +87336,7 @@ func (i *TaskWhereInput) P() (predicate.Task, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(task.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(task.FieldTags), v)) }) } @@ -88710,7 +88710,7 @@ func (i *TemplateWhereInput) P() (predicate.Template, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(template.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(template.FieldTags), v)) }) } @@ -89675,7 +89675,7 @@ func (i *TrustCenterWhereInput) P() (predicate.TrustCenter, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcenter.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(trustcenter.FieldTags), v)) }) } @@ -90487,7 +90487,7 @@ func (i *TrustCenterComplianceWhereInput) P() (predicate.TrustCenterCompliance, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcentercompliance.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(trustcentercompliance.FieldTags), v)) }) } @@ -91299,7 +91299,7 @@ func (i *TrustCenterDocWhereInput) P() (predicate.TrustCenterDoc, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcenterdoc.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(trustcenterdoc.FieldTags), v)) }) } @@ -93576,7 +93576,7 @@ func (i *TrustCenterNDARequestWhereInput) P() (predicate.TrustCenterNDARequest, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcenterndarequest.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(trustcenterndarequest.FieldTags), v)) }) } @@ -97816,7 +97816,7 @@ func (i *UserWhereInput) P() (predicate.User, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(user.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(user.FieldTags), v)) }) } @@ -98829,7 +98829,7 @@ func (i *UserSettingWhereInput) P() (predicate.UserSetting, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(usersetting.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(usersetting.FieldTags), v)) }) } @@ -99703,7 +99703,7 @@ func (i *VendorRiskScoreWhereInput) P() (predicate.VendorRiskScore, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vendorriskscore.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(vendorriskscore.FieldTags), v)) }) } @@ -100175,7 +100175,7 @@ func (i *VendorScoringConfigWhereInput) P() (predicate.VendorScoringConfig, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vendorscoringconfig.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(vendorscoringconfig.FieldTags), v)) }) } @@ -102904,7 +102904,7 @@ func (i *VulnerabilityWhereInput) P() (predicate.Vulnerability, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vulnerability.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(vulnerability.FieldTags), v)) }) } @@ -103757,7 +103757,7 @@ func (i *WebauthnWhereInput) P() (predicate.Webauthn, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(webauthn.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(webauthn.FieldTags), v)) }) } @@ -104590,7 +104590,7 @@ func (i *WorkflowAssignmentWhereInput) P() (predicate.WorkflowAssignment, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowassignment.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(workflowassignment.FieldTags), v)) }) } @@ -105303,7 +105303,7 @@ func (i *WorkflowAssignmentTargetWhereInput) P() (predicate.WorkflowAssignmentTa if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowassignmenttarget.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(workflowassignmenttarget.FieldTags), v)) }) } @@ -106184,7 +106184,7 @@ func (i *WorkflowDefinitionWhereInput) P() (predicate.WorkflowDefinition, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowdefinition.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(workflowdefinition.FieldTags), v)) }) } @@ -106815,7 +106815,7 @@ func (i *WorkflowEventWhereInput) P() (predicate.WorkflowEvent, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowevent.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(workflowevent.FieldTags), v)) }) } @@ -108343,7 +108343,7 @@ func (i *WorkflowInstanceWhereInput) P() (predicate.WorkflowInstance, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowinstance.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(workflowinstance.FieldTags), v)) }) } diff --git a/internal/ent/historygenerated/gql_where_input.go b/internal/ent/historygenerated/gql_where_input.go index ca859b2310..9bfce11f37 100644 --- a/internal/ent/historygenerated/gql_where_input.go +++ b/internal/ent/historygenerated/gql_where_input.go @@ -80,6 +80,7 @@ import ( "github.com/theopenlane/core/v2/internal/ent/historygenerated/workflowassignmenthistory" "github.com/theopenlane/core/v2/internal/ent/historygenerated/workflowassignmenttargethistory" "github.com/theopenlane/core/v2/internal/ent/historygenerated/workflowdefinitionhistory" + "github.com/theopenlane/core/v2/internal/ent/schemautil" "github.com/theopenlane/entx/history" ) @@ -1577,7 +1578,7 @@ func (i *ActionPlanHistoryWhereInput) P() (predicate.ActionPlanHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplanhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(actionplanhistory.FieldTags), v)) }) } @@ -2339,7 +2340,7 @@ func (i *AssessmentHistoryWhereInput) P() (predicate.AssessmentHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(assessmenthistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(assessmenthistory.FieldTags), v)) }) } @@ -5570,7 +5571,7 @@ func (i *AssetHistoryWhereInput) P() (predicate.AssetHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(assethistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(assethistory.FieldTags), v)) }) } @@ -7149,7 +7150,7 @@ func (i *CampaignHistoryWhereInput) P() (predicate.CampaignHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(campaignhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(campaignhistory.FieldTags), v)) }) } @@ -8877,7 +8878,7 @@ func (i *ContactHistoryWhereInput) P() (predicate.ContactHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(contacthistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(contacthistory.FieldTags), v)) }) } @@ -10726,7 +10727,7 @@ func (i *ControlHistoryWhereInput) P() (predicate.ControlHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(controlhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(controlhistory.FieldTags), v)) }) } @@ -11463,7 +11464,7 @@ func (i *ControlImplementationHistoryWhereInput) P() (predicate.ControlImplement if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(controlimplementationhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(controlimplementationhistory.FieldTags), v)) }) } @@ -12387,7 +12388,7 @@ func (i *ControlObjectiveHistoryWhereInput) P() (predicate.ControlObjectiveHisto if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(controlobjectivehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(controlobjectivehistory.FieldTags), v)) }) } @@ -13139,7 +13140,7 @@ func (i *CustomDomainHistoryWhereInput) P() (predicate.CustomDomainHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(customdomainhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(customdomainhistory.FieldTags), v)) }) } @@ -14327,7 +14328,7 @@ func (i *DocumentDataHistoryWhereInput) P() (predicate.DocumentDataHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(documentdatahistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(documentdatahistory.FieldTags), v)) }) } @@ -18046,7 +18047,7 @@ func (i *EntityHistoryWhereInput) P() (predicate.EntityHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entityhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(entityhistory.FieldTags), v)) }) } @@ -18685,7 +18686,7 @@ func (i *EntityTypeHistoryWhereInput) P() (predicate.EntityTypeHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entitytypehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(entitytypehistory.FieldTags), v)) }) } @@ -19817,7 +19818,7 @@ func (i *EvidenceHistoryWhereInput) P() (predicate.EvidenceHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(evidencehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(evidencehistory.FieldTags), v)) }) } @@ -21331,7 +21332,7 @@ func (i *FileHistoryWhereInput) P() (predicate.FileHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(filehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(filehistory.FieldTags), v)) }) } @@ -24535,7 +24536,7 @@ func (i *FindingHistoryWhereInput) P() (predicate.FindingHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(findinghistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(findinghistory.FieldTags), v)) }) } @@ -25448,7 +25449,7 @@ func (i *GroupHistoryWhereInput) P() (predicate.GroupHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(grouphistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(grouphistory.FieldTags), v)) }) } @@ -28802,7 +28803,7 @@ func (i *IdentityHolderHistoryWhereInput) P() (predicate.IdentityHolderHistory, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(identityholderhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(identityholderhistory.FieldTags), v)) }) } @@ -30303,7 +30304,7 @@ func (i *InternalPolicyHistoryWhereInput) P() (predicate.InternalPolicyHistory, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicyhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(internalpolicyhistory.FieldTags), v)) }) } @@ -30831,7 +30832,7 @@ func (i *MappableDomainHistoryWhereInput) P() (predicate.MappableDomainHistory, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(mappabledomainhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(mappabledomainhistory.FieldTags), v)) }) } @@ -31521,7 +31522,7 @@ func (i *MappedControlHistoryWhereInput) P() (predicate.MappedControlHistory, er if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(mappedcontrolhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(mappedcontrolhistory.FieldTags), v)) }) } @@ -32255,7 +32256,7 @@ func (i *NarrativeHistoryWhereInput) P() (predicate.NarrativeHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(narrativehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(narrativehistory.FieldTags), v)) }) } @@ -36661,7 +36662,7 @@ func (i *OrganizationHistoryWhereInput) P() (predicate.OrganizationHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(organizationhistory.FieldTags), v)) }) } @@ -37913,7 +37914,7 @@ func (i *OrganizationSettingHistoryWhereInput) P() (predicate.OrganizationSettin if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsettinghistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(organizationsettinghistory.FieldTags), v)) }) } @@ -40503,7 +40504,7 @@ func (i *PlatformHistoryWhereInput) P() (predicate.PlatformHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(platformhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(platformhistory.FieldTags), v)) }) } @@ -41951,7 +41952,7 @@ func (i *ProcedureHistoryWhereInput) P() (predicate.ProcedureHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedurehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(procedurehistory.FieldTags), v)) }) } @@ -43167,7 +43168,7 @@ func (i *ProgramHistoryWhereInput) P() (predicate.ProgramHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(programhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(programhistory.FieldTags), v)) }) } @@ -45273,7 +45274,7 @@ func (i *RemediationHistoryWhereInput) P() (predicate.RemediationHistory, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(remediationhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(remediationhistory.FieldTags), v)) }) } @@ -46701,7 +46702,7 @@ func (i *ReviewHistoryWhereInput) P() (predicate.ReviewHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(reviewhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(reviewhistory.FieldTags), v)) }) } @@ -48353,7 +48354,7 @@ func (i *RiskHistoryWhereInput) P() (predicate.RiskHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(riskhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(riskhistory.FieldTags), v)) }) } @@ -48891,7 +48892,7 @@ func (i *SLADefinitionHistoryWhereInput) P() (predicate.SLADefinitionHistory, er if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(sladefinitionhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(sladefinitionhistory.FieldTags), v)) }) } @@ -50020,7 +50021,7 @@ func (i *StandardHistoryWhereInput) P() (predicate.StandardHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(standardhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(standardhistory.FieldTags), v)) }) } @@ -51640,7 +51641,7 @@ func (i *SubcontrolHistoryWhereInput) P() (predicate.SubcontrolHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subcontrolhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(subcontrolhistory.FieldTags), v)) }) } @@ -52403,7 +52404,7 @@ func (i *SubprocessorHistoryWhereInput) P() (predicate.SubprocessorHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subprocessorhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(subprocessorhistory.FieldTags), v)) }) } @@ -53129,7 +53130,7 @@ func (i *SystemDetailHistoryWhereInput) P() (predicate.SystemDetailHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(systemdetailhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(systemdetailhistory.FieldTags), v)) }) } @@ -54460,7 +54461,7 @@ func (i *TaskHistoryWhereInput) P() (predicate.TaskHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(taskhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(taskhistory.FieldTags), v)) }) } @@ -55391,7 +55392,7 @@ func (i *TemplateHistoryWhereInput) P() (predicate.TemplateHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(templatehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(templatehistory.FieldTags), v)) }) } @@ -55885,7 +55886,7 @@ func (i *TrustCenterComplianceHistoryWhereInput) P() (predicate.TrustCenterCompl if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcentercompliancehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(trustcentercompliancehistory.FieldTags), v)) }) } @@ -56679,7 +56680,7 @@ func (i *TrustCenterDocHistoryWhereInput) P() (predicate.TrustCenterDocHistory, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcenterdochistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(trustcenterdochistory.FieldTags), v)) }) } @@ -58715,7 +58716,7 @@ func (i *TrustCenterHistoryWhereInput) P() (predicate.TrustCenterHistory, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcenterhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(trustcenterhistory.FieldTags), v)) }) } @@ -59627,7 +59628,7 @@ func (i *TrustCenterNDARequestHistoryWhereInput) P() (predicate.TrustCenterNDARe if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcenterndarequesthistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(trustcenterndarequesthistory.FieldTags), v)) }) } @@ -63619,7 +63620,7 @@ func (i *UserHistoryWhereInput) P() (predicate.UserHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(userhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(userhistory.FieldTags), v)) }) } @@ -64297,7 +64298,7 @@ func (i *UserSettingHistoryWhereInput) P() (predicate.UserSettingHistory, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(usersettinghistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(usersettinghistory.FieldTags), v)) }) } @@ -65203,7 +65204,7 @@ func (i *VendorRiskScoreHistoryWhereInput) P() (predicate.VendorRiskScoreHistory if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vendorriskscorehistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(vendorriskscorehistory.FieldTags), v)) }) } @@ -65677,7 +65678,7 @@ func (i *VendorScoringConfigHistoryWhereInput) P() (predicate.VendorScoringConfi if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vendorscoringconfighistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(vendorscoringconfighistory.FieldTags), v)) }) } @@ -68338,7 +68339,7 @@ func (i *VulnerabilityHistoryWhereInput) P() (predicate.VulnerabilityHistory, er if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vulnerabilityhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(vulnerabilityhistory.FieldTags), v)) }) } @@ -69239,7 +69240,7 @@ func (i *WorkflowAssignmentHistoryWhereInput) P() (predicate.WorkflowAssignmentH if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowassignmenthistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(workflowassignmenthistory.FieldTags), v)) }) } @@ -69927,7 +69928,7 @@ func (i *WorkflowAssignmentTargetHistoryWhereInput) P() (predicate.WorkflowAssig if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowassignmenttargethistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(workflowassignmenttargethistory.FieldTags), v)) }) } @@ -70786,7 +70787,7 @@ func (i *WorkflowDefinitionHistoryWhereInput) P() (predicate.WorkflowDefinitionH if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowdefinitionhistory.FieldTags, v)) + s.Where(schemautil.TagsHasFold(s.C(workflowdefinitionhistory.FieldTags), v)) }) } diff --git a/internal/ent/schemautil/tags.go b/internal/ent/schemautil/tags.go new file mode 100644 index 0000000000..1c92d1a605 --- /dev/null +++ b/internal/ent/schemautil/tags.go @@ -0,0 +1,16 @@ +package schemautil + +import "entgo.io/ent/dialect/sql" + +// TagsHasFold checks if the value matches while disregarding case sensitivity +func TagsHasFold(column, value string) *sql.Predicate { + return sql.P(func(b *sql.Builder) { + b.WriteString("EXISTS (SELECT 1 FROM jsonb_array_elements_text("). + Ident(column). + WriteString(") AS tag_values(value)") + + b.WriteString(" WHERE LOWER(tag_values.value) = LOWER("). + Arg(value). + WriteString("))") + }) +} diff --git a/internal/graphapi/checksum/.history_schema_checksum b/internal/graphapi/checksum/.history_schema_checksum index 35efeefe01..04798873ce 100644 --- a/internal/graphapi/checksum/.history_schema_checksum +++ b/internal/graphapi/checksum/.history_schema_checksum @@ -1 +1 @@ -d9ea7412322800eeafda102e3448ac56220a451122a9b9560e0dd50f23b70dbf \ No newline at end of file +c8eaddcbae50bd3e09577bb8dcb40bb957d12bf14847f6a37377e3858de5e9de \ No newline at end of file diff --git a/internal/graphapi/checksum/.schema_checksum b/internal/graphapi/checksum/.schema_checksum index f6e08fb272..c3f25960c6 100644 --- a/internal/graphapi/checksum/.schema_checksum +++ b/internal/graphapi/checksum/.schema_checksum @@ -1 +1 @@ -eb61f7da5ece9b0aca9b6e12732d5e5fff1739d4660679e41a73e9c22f428732 \ No newline at end of file +caccc6b31dfc75a897a5c73bc578efc66bd9097d22e25de46105e9770e59c65d \ No newline at end of file diff --git a/internal/graphapi/clientschema/checksum/.schema_checksum b/internal/graphapi/clientschema/checksum/.schema_checksum index 42467f0758..b4cd980d51 100644 --- a/internal/graphapi/clientschema/checksum/.schema_checksum +++ b/internal/graphapi/clientschema/checksum/.schema_checksum @@ -1 +1 @@ -4343a21f24311203b2fa5de59a59ca13e137c6da121471e96207c847b1c7171d \ No newline at end of file +5e49854b977ee3fc7210fa7e11fa78133889d134dcf85873e6d6adeef207f95b \ No newline at end of file diff --git a/internal/graphapi/evidence_test.go b/internal/graphapi/evidence_test.go index 2c356982c5..87c2c126e9 100644 --- a/internal/graphapi/evidence_test.go +++ b/internal/graphapi/evidence_test.go @@ -16,6 +16,7 @@ import ( "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/common/models" + "github.com/theopenlane/core/v2/internal/ent/generated" "github.com/theopenlane/core/v2/internal/graphapi/testclient" ) @@ -256,6 +257,61 @@ func TestQueryEvidences(t *testing.T) { (&th.Cleanup[*generated.EvidenceDeleteOne]{Client: suite.Client.DB.Evidence, ID: e3.ID}).MustDelete(userAnotherOrg.UserCtx, t) } +func TestQueryEvidence_TagsHasFilter(t *testing.T) { + ctx := th.SharedAdminUser.UserCtx + + evidence := (&th.EvidenceBuilder{Client: suite.Client, Tags: []string{"Population", "Openlane"}}). + MustNew(ctx, t) + + t.Cleanup(func() { + (&th.Cleanup[*generated.EvidenceDeleteOne]{Client: suite.Client.DB.Evidence, ID: evidence.ID}).MustDelete(ctx, t) + }) + + tt := []struct { + tag string + expectedMatch bool + }{ + { + tag: "population", + expectedMatch: true, + }, + { + tag: "POPULATION", + expectedMatch: true, + }, + { + tag: "PoPuLaTiOn", + expectedMatch: true, + }, + { + tag: "openlane", + expectedMatch: true, + }, + { + tag: "oPeNlAnE", + expectedMatch: true, + }, + { + tag: "Openlane", + expectedMatch: true, + }, + } + + for _, v := range tt { + t.Run(v.tag, func(t *testing.T) { + where := testclient.EvidenceWhereInput{ + ID: &evidence.ID, + And: []*testclient.EvidenceWhereInput{ + {TagsHas: &v.tag}, + }, + } + resp, err := suite.Client.API.GetEvidences(ctx, &where) + assert.NilError(t, err) + assert.Equal(t, len(resp.Evidences.Edges) > 0, v.expectedMatch) + }) + } +} + func TestMutationCreateEvidence(t *testing.T) { program := (&th.ProgramBuilder{Client: suite.Client}).MustNew(th.SharedTestUser1.UserCtx, t) task := (&th.TaskBuilder{Client: suite.Client}).MustNew(th.SharedTestUser1.UserCtx, t) diff --git a/internal/graphapi/generated/actionplan.generated.go b/internal/graphapi/generated/actionplan.generated.go index 07f1ed377f..e840a8c16f 100644 --- a/internal/graphapi/generated/actionplan.generated.go +++ b/internal/graphapi/generated/actionplan.generated.go @@ -41622,10 +41622,6 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNActionPlanBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ActionPlanBulkCreatePayload) graphql.Marshaler { - return ec._ActionPlanBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlanBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ActionPlanBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -41636,10 +41632,6 @@ func (ec *executionContext) marshalNActionPlanBulkCreatePayload2ᚖgithubᚗcom return ec._ActionPlanBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNActionPlanBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ActionPlanBulkDeletePayload) graphql.Marshaler { - return ec._ActionPlanBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlanBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ActionPlanBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -41650,10 +41642,6 @@ func (ec *executionContext) marshalNActionPlanBulkDeletePayload2ᚖgithubᚗcom return ec._ActionPlanBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNActionPlanBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ActionPlanBulkUpdatePayload) graphql.Marshaler { - return ec._ActionPlanBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlanBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ActionPlanBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -41664,10 +41652,6 @@ func (ec *executionContext) marshalNActionPlanBulkUpdatePayload2ᚖgithubᚗcom return ec._ActionPlanBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNActionPlanCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ActionPlanCreatePayload) graphql.Marshaler { - return ec._ActionPlanCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlanCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ActionPlanCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -41678,10 +41662,6 @@ func (ec *executionContext) marshalNActionPlanCreatePayload2ᚖgithubᚗcomᚋth return ec._ActionPlanCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNActionPlanDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ActionPlanDeletePayload) graphql.Marshaler { - return ec._ActionPlanDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlanDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ActionPlanDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -41692,10 +41672,6 @@ func (ec *executionContext) marshalNActionPlanDeletePayload2ᚖgithubᚗcomᚋth return ec._ActionPlanDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNActionPlanUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ActionPlanUpdatePayload) graphql.Marshaler { - return ec._ActionPlanUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlanUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionPlanUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ActionPlanUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/apitoken.generated.go b/internal/graphapi/generated/apitoken.generated.go index c60dc1b82a..4f8872d41b 100644 --- a/internal/graphapi/generated/apitoken.generated.go +++ b/internal/graphapi/generated/apitoken.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _APITokenUpdatePayload(ctx context.Context, sel ast. // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNAPITokenBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.APITokenBulkCreatePayload) graphql.Marshaler { - return ec._APITokenBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAPITokenBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.APITokenBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNAPITokenBulkCreatePayload2ᚖgithubᚗcomᚋ return ec._APITokenBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAPITokenBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.APITokenBulkDeletePayload) graphql.Marshaler { - return ec._APITokenBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAPITokenBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.APITokenBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNAPITokenBulkDeletePayload2ᚖgithubᚗcomᚋ return ec._APITokenBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAPITokenBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.APITokenBulkUpdatePayload) graphql.Marshaler { - return ec._APITokenBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAPITokenBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.APITokenBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNAPITokenBulkUpdatePayload2ᚖgithubᚗcomᚋ return ec._APITokenBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAPITokenCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.APITokenCreatePayload) graphql.Marshaler { - return ec._APITokenCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAPITokenCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.APITokenCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNAPITokenCreatePayload2ᚖgithubᚗcomᚋtheo return ec._APITokenCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAPITokenDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.APITokenDeletePayload) graphql.Marshaler { - return ec._APITokenDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAPITokenDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.APITokenDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNAPITokenDeletePayload2ᚖgithubᚗcomᚋtheo return ec._APITokenDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAPITokenUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.APITokenUpdatePayload) graphql.Marshaler { - return ec._APITokenUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAPITokenUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAPITokenUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.APITokenUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/assessment.generated.go b/internal/graphapi/generated/assessment.generated.go index 62f1de77ae..1ee731c280 100644 --- a/internal/graphapi/generated/assessment.generated.go +++ b/internal/graphapi/generated/assessment.generated.go @@ -480,10 +480,6 @@ func (ec *executionContext) _AssessmentUpdatePayload(ctx context.Context, sel as // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNAssessmentBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.AssessmentBulkDeletePayload) graphql.Marshaler { - return ec._AssessmentBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssessmentBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -494,10 +490,6 @@ func (ec *executionContext) marshalNAssessmentBulkDeletePayload2ᚖgithubᚗcom return ec._AssessmentBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssessmentCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.AssessmentCreatePayload) graphql.Marshaler { - return ec._AssessmentCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssessmentCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -508,10 +500,6 @@ func (ec *executionContext) marshalNAssessmentCreatePayload2ᚖgithubᚗcomᚋth return ec._AssessmentCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssessmentDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.AssessmentDeletePayload) graphql.Marshaler { - return ec._AssessmentDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssessmentDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -522,10 +510,6 @@ func (ec *executionContext) marshalNAssessmentDeletePayload2ᚖgithubᚗcomᚋth return ec._AssessmentDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssessmentTemplateCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentTemplateCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.AssessmentTemplateCreatePayload) graphql.Marshaler { - return ec._AssessmentTemplateCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentTemplateCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentTemplateCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssessmentTemplateCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -536,10 +520,6 @@ func (ec *executionContext) marshalNAssessmentTemplateCreatePayload2ᚖgithubᚗ return ec._AssessmentTemplateCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssessmentUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.AssessmentUpdatePayload) graphql.Marshaler { - return ec._AssessmentUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssessmentUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/assessmentresponse.generated.go b/internal/graphapi/generated/assessmentresponse.generated.go index 04921a0e73..819bcf6b67 100644 --- a/internal/graphapi/generated/assessmentresponse.generated.go +++ b/internal/graphapi/generated/assessmentresponse.generated.go @@ -172,10 +172,6 @@ func (ec *executionContext) _AssessmentResponseDeletePayload(ctx context.Context // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNAssessmentResponseCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentResponseCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.AssessmentResponseCreatePayload) graphql.Marshaler { - return ec._AssessmentResponseCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentResponseCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentResponseCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssessmentResponseCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -186,10 +182,6 @@ func (ec *executionContext) marshalNAssessmentResponseCreatePayload2ᚖgithubᚗ return ec._AssessmentResponseCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssessmentResponseDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentResponseDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.AssessmentResponseDeletePayload) graphql.Marshaler { - return ec._AssessmentResponseDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentResponseDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssessmentResponseDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssessmentResponseDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/asset.generated.go b/internal/graphapi/generated/asset.generated.go index 8ab1a5c3ae..f89780e41d 100644 --- a/internal/graphapi/generated/asset.generated.go +++ b/internal/graphapi/generated/asset.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _AssetUpdatePayload(ctx context.Context, sel ast.Sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNAssetBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.AssetBulkCreatePayload) graphql.Marshaler { - return ec._AssetBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssetBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssetBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNAssetBulkCreatePayload2ᚖgithubᚗcomᚋthe return ec._AssetBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssetBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.AssetBulkDeletePayload) graphql.Marshaler { - return ec._AssetBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssetBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssetBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNAssetBulkDeletePayload2ᚖgithubᚗcomᚋthe return ec._AssetBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssetBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.AssetBulkUpdatePayload) graphql.Marshaler { - return ec._AssetBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssetBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssetBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNAssetBulkUpdatePayload2ᚖgithubᚗcomᚋthe return ec._AssetBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssetCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.AssetCreatePayload) graphql.Marshaler { - return ec._AssetCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssetCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssetCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNAssetCreatePayload2ᚖgithubᚗcomᚋtheopen return ec._AssetCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssetDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.AssetDeletePayload) graphql.Marshaler { - return ec._AssetDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssetDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssetDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNAssetDeletePayload2ᚖgithubᚗcomᚋtheopen return ec._AssetDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNAssetUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.AssetUpdatePayload) graphql.Marshaler { - return ec._AssetUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssetUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐAssetUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.AssetUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/campaign.generated.go b/internal/graphapi/generated/campaign.generated.go index 21df96ab97..0772ca8969 100644 --- a/internal/graphapi/generated/campaign.generated.go +++ b/internal/graphapi/generated/campaign.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _CampaignUpdatePayload(ctx context.Context, sel ast. // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNCampaignBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignBulkCreatePayload) graphql.Marshaler { - return ec._CampaignBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNCampaignBulkCreatePayload2ᚖgithubᚗcomᚋ return ec._CampaignBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCampaignCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignCreatePayload) graphql.Marshaler { - return ec._CampaignCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNCampaignCreatePayload2ᚖgithubᚗcomᚋtheo return ec._CampaignCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCampaignDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignDeletePayload) graphql.Marshaler { - return ec._CampaignDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNCampaignDeletePayload2ᚖgithubᚗcomᚋtheo return ec._CampaignDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCampaignUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignUpdatePayload) graphql.Marshaler { - return ec._CampaignUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/campaignextended.generated.go b/internal/graphapi/generated/campaignextended.generated.go index 9ea3006bd3..e93aa36eb4 100644 --- a/internal/graphapi/generated/campaignextended.generated.go +++ b/internal/graphapi/generated/campaignextended.generated.go @@ -555,10 +555,6 @@ func (ec *executionContext) _CampaignTestEmailPayload(ctx context.Context, sel a // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNCampaignCreateWithTargetsPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignCreateWithTargetsPayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignCreateWithTargetsPayload) graphql.Marshaler { - return ec._CampaignCreateWithTargetsPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignCreateWithTargetsPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignCreateWithTargetsPayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignCreateWithTargetsPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -569,10 +565,6 @@ func (ec *executionContext) marshalNCampaignCreateWithTargetsPayload2ᚖgithub return ec._CampaignCreateWithTargetsPayload(ctx, sel, v) } -func (ec *executionContext) marshalNCampaignLaunchPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignLaunchPayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignLaunchPayload) graphql.Marshaler { - return ec._CampaignLaunchPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignLaunchPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignLaunchPayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignLaunchPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -583,10 +575,6 @@ func (ec *executionContext) marshalNCampaignLaunchPayload2ᚖgithubᚗcomᚋtheo return ec._CampaignLaunchPayload(ctx, sel, v) } -func (ec *executionContext) marshalNCampaignTestEmailPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTestEmailPayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignTestEmailPayload) graphql.Marshaler { - return ec._CampaignTestEmailPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignTestEmailPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTestEmailPayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignTestEmailPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/campaigntarget.generated.go b/internal/graphapi/generated/campaigntarget.generated.go index 56b31d5a64..86be8bbf97 100644 --- a/internal/graphapi/generated/campaigntarget.generated.go +++ b/internal/graphapi/generated/campaigntarget.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _CampaignTargetUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNCampaignTargetBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTargetBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignTargetBulkCreatePayload) graphql.Marshaler { - return ec._CampaignTargetBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignTargetBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTargetBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignTargetBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNCampaignTargetBulkCreatePayload2ᚖgithubᚗ return ec._CampaignTargetBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCampaignTargetCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTargetCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignTargetCreatePayload) graphql.Marshaler { - return ec._CampaignTargetCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignTargetCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTargetCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignTargetCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNCampaignTargetCreatePayload2ᚖgithubᚗcom return ec._CampaignTargetCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCampaignTargetDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTargetDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignTargetDeletePayload) graphql.Marshaler { - return ec._CampaignTargetDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignTargetDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTargetDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignTargetDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNCampaignTargetDeletePayload2ᚖgithubᚗcom return ec._CampaignTargetDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCampaignTargetUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTargetUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.CampaignTargetUpdatePayload) graphql.Marshaler { - return ec._CampaignTargetUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignTargetUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCampaignTargetUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CampaignTargetUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/checkresult.generated.go b/internal/graphapi/generated/checkresult.generated.go index 0fc154eeb9..7c3feffc9c 100644 --- a/internal/graphapi/generated/checkresult.generated.go +++ b/internal/graphapi/generated/checkresult.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _CheckResultUpdatePayload(ctx context.Context, sel a // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNCheckResultBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CheckResultBulkCreatePayload) graphql.Marshaler { - return ec._CheckResultBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCheckResultBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CheckResultBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNCheckResultBulkCreatePayload2ᚖgithubᚗcom return ec._CheckResultBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCheckResultBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.CheckResultBulkDeletePayload) graphql.Marshaler { - return ec._CheckResultBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCheckResultBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.CheckResultBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNCheckResultBulkDeletePayload2ᚖgithubᚗcom return ec._CheckResultBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCheckResultBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.CheckResultBulkUpdatePayload) graphql.Marshaler { - return ec._CheckResultBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCheckResultBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CheckResultBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNCheckResultBulkUpdatePayload2ᚖgithubᚗcom return ec._CheckResultBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCheckResultCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CheckResultCreatePayload) graphql.Marshaler { - return ec._CheckResultCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCheckResultCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CheckResultCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNCheckResultCreatePayload2ᚖgithubᚗcomᚋt return ec._CheckResultCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCheckResultDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.CheckResultDeletePayload) graphql.Marshaler { - return ec._CheckResultDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCheckResultDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.CheckResultDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNCheckResultDeletePayload2ᚖgithubᚗcomᚋt return ec._CheckResultDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCheckResultUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.CheckResultUpdatePayload) graphql.Marshaler { - return ec._CheckResultUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCheckResultUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCheckResultUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CheckResultUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/contact.generated.go b/internal/graphapi/generated/contact.generated.go index 3d112a7989..393e167078 100644 --- a/internal/graphapi/generated/contact.generated.go +++ b/internal/graphapi/generated/contact.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ContactUpdatePayload(ctx context.Context, sel ast.S // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNContactBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ContactBulkCreatePayload) graphql.Marshaler { - return ec._ContactBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNContactBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ContactBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNContactBulkCreatePayload2ᚖgithubᚗcomᚋt return ec._ContactBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNContactBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ContactBulkDeletePayload) graphql.Marshaler { - return ec._ContactBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNContactBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ContactBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNContactBulkDeletePayload2ᚖgithubᚗcomᚋt return ec._ContactBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNContactBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ContactBulkUpdatePayload) graphql.Marshaler { - return ec._ContactBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNContactBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ContactBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNContactBulkUpdatePayload2ᚖgithubᚗcomᚋt return ec._ContactBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNContactCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ContactCreatePayload) graphql.Marshaler { - return ec._ContactCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNContactCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ContactCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNContactCreatePayload2ᚖgithubᚗcomᚋtheop return ec._ContactCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNContactDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ContactDeletePayload) graphql.Marshaler { - return ec._ContactDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNContactDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ContactDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNContactDeletePayload2ᚖgithubᚗcomᚋtheop return ec._ContactDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNContactUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ContactUpdatePayload) graphql.Marshaler { - return ec._ContactUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNContactUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐContactUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ContactUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/control.generated.go b/internal/graphapi/generated/control.generated.go index aaed2ce068..fa15c371b9 100644 --- a/internal/graphapi/generated/control.generated.go +++ b/internal/graphapi/generated/control.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ControlUpdatePayload(ctx context.Context, sel ast.S // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNControlBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlBulkCreatePayload) graphql.Marshaler { - return ec._ControlBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNControlBulkCreatePayload2ᚖgithubᚗcomᚋt return ec._ControlBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlBulkDeletePayload) graphql.Marshaler { - return ec._ControlBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNControlBulkDeletePayload2ᚖgithubᚗcomᚋt return ec._ControlBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlBulkUpdatePayload) graphql.Marshaler { - return ec._ControlBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNControlBulkUpdatePayload2ᚖgithubᚗcomᚋt return ec._ControlBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlCreatePayload) graphql.Marshaler { - return ec._ControlCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNControlCreatePayload2ᚖgithubᚗcomᚋtheop return ec._ControlCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlDeletePayload) graphql.Marshaler { - return ec._ControlDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNControlDeletePayload2ᚖgithubᚗcomᚋtheop return ec._ControlDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlUpdatePayload) graphql.Marshaler { - return ec._ControlUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/controlextended.generated.go b/internal/graphapi/generated/controlextended.generated.go index 5c450125cb..66a0a7429e 100644 --- a/internal/graphapi/generated/controlextended.generated.go +++ b/internal/graphapi/generated/controlextended.generated.go @@ -1709,10 +1709,6 @@ func (ec *executionContext) unmarshalNControlDiffInput2githubᚗcomᚋtheopenlan return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNControlDiffPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlDiffPayload(ctx context.Context, sel ast.SelectionSet, v model.ControlDiffPayload) graphql.Marshaler { - return ec._ControlDiffPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlDiffPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlDiffPayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlDiffPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -1759,10 +1755,6 @@ func (ec *executionContext) marshalNControlGroup2ᚖgithubᚗcomᚋtheopenlane return ec._ControlGroup(ctx, sel, v) } -func (ec *executionContext) marshalNControlGroupConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlGroupConnection(ctx context.Context, sel ast.SelectionSet, v model.ControlGroupConnection) graphql.Marshaler { - return ec._ControlGroupConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlGroupConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlGroupConnection(ctx context.Context, sel ast.SelectionSet, v *model.ControlGroupConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/controlimplementation.generated.go b/internal/graphapi/generated/controlimplementation.generated.go index b5389778df..d52a709598 100644 --- a/internal/graphapi/generated/controlimplementation.generated.go +++ b/internal/graphapi/generated/controlimplementation.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ControlImplementationUpdatePayload(ctx context.Cont // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNControlImplementationBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlImplementationBulkCreatePayload) graphql.Marshaler { - return ec._ControlImplementationBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementationBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlImplementationBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNControlImplementationBulkCreatePayload2ᚖgi return ec._ControlImplementationBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlImplementationBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlImplementationBulkDeletePayload) graphql.Marshaler { - return ec._ControlImplementationBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementationBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlImplementationBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNControlImplementationBulkDeletePayload2ᚖgi return ec._ControlImplementationBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlImplementationBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlImplementationBulkUpdatePayload) graphql.Marshaler { - return ec._ControlImplementationBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementationBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlImplementationBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNControlImplementationBulkUpdatePayload2ᚖgi return ec._ControlImplementationBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlImplementationCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlImplementationCreatePayload) graphql.Marshaler { - return ec._ControlImplementationCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementationCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlImplementationCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNControlImplementationCreatePayload2ᚖgithub return ec._ControlImplementationCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlImplementationDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlImplementationDeletePayload) graphql.Marshaler { - return ec._ControlImplementationDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementationDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlImplementationDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNControlImplementationDeletePayload2ᚖgithub return ec._ControlImplementationDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlImplementationUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlImplementationUpdatePayload) graphql.Marshaler { - return ec._ControlImplementationUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementationUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlImplementationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlImplementationUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/controlobjective.generated.go b/internal/graphapi/generated/controlobjective.generated.go index a92379cb13..4295028acd 100644 --- a/internal/graphapi/generated/controlobjective.generated.go +++ b/internal/graphapi/generated/controlobjective.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ControlObjectiveUpdatePayload(ctx context.Context, // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNControlObjectiveBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlObjectiveBulkCreatePayload) graphql.Marshaler { - return ec._ControlObjectiveBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjectiveBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlObjectiveBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNControlObjectiveBulkCreatePayload2ᚖgithub return ec._ControlObjectiveBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlObjectiveBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlObjectiveBulkDeletePayload) graphql.Marshaler { - return ec._ControlObjectiveBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjectiveBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlObjectiveBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNControlObjectiveBulkDeletePayload2ᚖgithub return ec._ControlObjectiveBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlObjectiveBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlObjectiveBulkUpdatePayload) graphql.Marshaler { - return ec._ControlObjectiveBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjectiveBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlObjectiveBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNControlObjectiveBulkUpdatePayload2ᚖgithub return ec._ControlObjectiveBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlObjectiveCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlObjectiveCreatePayload) graphql.Marshaler { - return ec._ControlObjectiveCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjectiveCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlObjectiveCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNControlObjectiveCreatePayload2ᚖgithubᚗco return ec._ControlObjectiveCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlObjectiveDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlObjectiveDeletePayload) graphql.Marshaler { - return ec._ControlObjectiveDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjectiveDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlObjectiveDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNControlObjectiveDeletePayload2ᚖgithubᚗco return ec._ControlObjectiveDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNControlObjectiveUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ControlObjectiveUpdatePayload) graphql.Marshaler { - return ec._ControlObjectiveUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjectiveUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlObjectiveUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ControlObjectiveUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/controlreport.generated.go b/internal/graphapi/generated/controlreport.generated.go index b66bc11b7e..5084e4dfe9 100644 --- a/internal/graphapi/generated/controlreport.generated.go +++ b/internal/graphapi/generated/controlreport.generated.go @@ -2003,10 +2003,6 @@ func (ec *executionContext) marshalNControlReportCategory2ᚖgithubᚗcomᚋtheo return ec._ControlReportCategory(ctx, sel, v) } -func (ec *executionContext) marshalNControlReportConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlReportConnection(ctx context.Context, sel ast.SelectionSet, v model.ControlReportConnection) graphql.Marshaler { - return ec._ControlReportConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlReportConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐControlReportConnection(ctx context.Context, sel ast.SelectionSet, v *model.ControlReportConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/customdomain.generated.go b/internal/graphapi/generated/customdomain.generated.go index d543eb18ef..64757fa5f0 100644 --- a/internal/graphapi/generated/customdomain.generated.go +++ b/internal/graphapi/generated/customdomain.generated.go @@ -653,10 +653,6 @@ func (ec *executionContext) _CustomDomainValidatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNCustomDomainBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomDomainBulkCreatePayload) graphql.Marshaler { - return ec._CustomDomainBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomDomainBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -667,10 +663,6 @@ func (ec *executionContext) marshalNCustomDomainBulkCreatePayload2ᚖgithubᚗco return ec._CustomDomainBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomDomainBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomDomainBulkDeletePayload) graphql.Marshaler { - return ec._CustomDomainBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomDomainBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -681,10 +673,6 @@ func (ec *executionContext) marshalNCustomDomainBulkDeletePayload2ᚖgithubᚗco return ec._CustomDomainBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomDomainBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomDomainBulkUpdatePayload) graphql.Marshaler { - return ec._CustomDomainBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomDomainBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -695,10 +683,6 @@ func (ec *executionContext) marshalNCustomDomainBulkUpdatePayload2ᚖgithubᚗco return ec._CustomDomainBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomDomainCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomDomainCreatePayload) graphql.Marshaler { - return ec._CustomDomainCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomDomainCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -709,10 +693,6 @@ func (ec *executionContext) marshalNCustomDomainCreatePayload2ᚖgithubᚗcomᚋ return ec._CustomDomainCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomDomainDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomDomainDeletePayload) graphql.Marshaler { - return ec._CustomDomainDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomDomainDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -723,10 +703,6 @@ func (ec *executionContext) marshalNCustomDomainDeletePayload2ᚖgithubᚗcomᚋ return ec._CustomDomainDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomDomainUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomDomainUpdatePayload) graphql.Marshaler { - return ec._CustomDomainUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomDomainUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -737,10 +713,6 @@ func (ec *executionContext) marshalNCustomDomainUpdatePayload2ᚖgithubᚗcomᚋ return ec._CustomDomainUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomDomainValidatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainValidatePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomDomainValidatePayload) graphql.Marshaler { - return ec._CustomDomainValidatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainValidatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomDomainValidatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomDomainValidatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/customtypeenum.generated.go b/internal/graphapi/generated/customtypeenum.generated.go index 49b1d9318a..11437f8765 100644 --- a/internal/graphapi/generated/customtypeenum.generated.go +++ b/internal/graphapi/generated/customtypeenum.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _CustomTypeEnumUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNCustomTypeEnumBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomTypeEnumBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomTypeEnumBulkCreatePayload) graphql.Marshaler { - return ec._CustomTypeEnumBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomTypeEnumBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomTypeEnumBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomTypeEnumBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNCustomTypeEnumBulkCreatePayload2ᚖgithubᚗ return ec._CustomTypeEnumBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomTypeEnumCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomTypeEnumCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomTypeEnumCreatePayload) graphql.Marshaler { - return ec._CustomTypeEnumCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomTypeEnumCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomTypeEnumCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomTypeEnumCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNCustomTypeEnumCreatePayload2ᚖgithubᚗcom return ec._CustomTypeEnumCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomTypeEnumDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomTypeEnumDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomTypeEnumDeletePayload) graphql.Marshaler { - return ec._CustomTypeEnumDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomTypeEnumDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomTypeEnumDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomTypeEnumDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNCustomTypeEnumDeletePayload2ᚖgithubᚗcom return ec._CustomTypeEnumDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNCustomTypeEnumUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomTypeEnumUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.CustomTypeEnumUpdatePayload) graphql.Marshaler { - return ec._CustomTypeEnumUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomTypeEnumUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐCustomTypeEnumUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.CustomTypeEnumUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/directoryaccount.generated.go b/internal/graphapi/generated/directoryaccount.generated.go index 96c5f5c03f..8e723445f1 100644 --- a/internal/graphapi/generated/directoryaccount.generated.go +++ b/internal/graphapi/generated/directoryaccount.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _DirectoryAccountUpdatePayload(ctx context.Context, // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNDirectoryAccountBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryAccountBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryAccountBulkCreatePayload) graphql.Marshaler { - return ec._DirectoryAccountBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryAccountBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryAccountBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryAccountBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNDirectoryAccountBulkCreatePayload2ᚖgithub return ec._DirectoryAccountBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryAccountCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryAccountCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryAccountCreatePayload) graphql.Marshaler { - return ec._DirectoryAccountCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryAccountCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryAccountCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryAccountCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNDirectoryAccountCreatePayload2ᚖgithubᚗco return ec._DirectoryAccountCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryAccountDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryAccountDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryAccountDeletePayload) graphql.Marshaler { - return ec._DirectoryAccountDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryAccountDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryAccountDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryAccountDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNDirectoryAccountDeletePayload2ᚖgithubᚗco return ec._DirectoryAccountDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryAccountUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryAccountUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryAccountUpdatePayload) graphql.Marshaler { - return ec._DirectoryAccountUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryAccountUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryAccountUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryAccountUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/directorygroup.generated.go b/internal/graphapi/generated/directorygroup.generated.go index 6803a6243c..136840fd78 100644 --- a/internal/graphapi/generated/directorygroup.generated.go +++ b/internal/graphapi/generated/directorygroup.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _DirectoryGroupUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNDirectoryGroupBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryGroupBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryGroupBulkCreatePayload) graphql.Marshaler { - return ec._DirectoryGroupBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryGroupBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryGroupBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryGroupBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNDirectoryGroupBulkCreatePayload2ᚖgithubᚗ return ec._DirectoryGroupBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryGroupCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryGroupCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryGroupCreatePayload) graphql.Marshaler { - return ec._DirectoryGroupCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryGroupCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryGroupCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryGroupCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNDirectoryGroupCreatePayload2ᚖgithubᚗcom return ec._DirectoryGroupCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryGroupDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryGroupDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryGroupDeletePayload) graphql.Marshaler { - return ec._DirectoryGroupDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryGroupDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryGroupDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryGroupDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNDirectoryGroupDeletePayload2ᚖgithubᚗcom return ec._DirectoryGroupDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryGroupUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryGroupUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryGroupUpdatePayload) graphql.Marshaler { - return ec._DirectoryGroupUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryGroupUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryGroupUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryGroupUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/directorymembership.generated.go b/internal/graphapi/generated/directorymembership.generated.go index 6bc71c5b4a..ee09ac3589 100644 --- a/internal/graphapi/generated/directorymembership.generated.go +++ b/internal/graphapi/generated/directorymembership.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _DirectoryMembershipUpdatePayload(ctx context.Contex // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNDirectoryMembershipBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryMembershipBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryMembershipBulkCreatePayload) graphql.Marshaler { - return ec._DirectoryMembershipBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryMembershipBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryMembershipBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryMembershipBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNDirectoryMembershipBulkCreatePayload2ᚖgith return ec._DirectoryMembershipBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryMembershipCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryMembershipCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryMembershipCreatePayload) graphql.Marshaler { - return ec._DirectoryMembershipCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryMembershipCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryMembershipCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryMembershipCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNDirectoryMembershipCreatePayload2ᚖgithub return ec._DirectoryMembershipCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryMembershipDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryMembershipDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryMembershipDeletePayload) graphql.Marshaler { - return ec._DirectoryMembershipDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryMembershipDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryMembershipDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryMembershipDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNDirectoryMembershipDeletePayload2ᚖgithub return ec._DirectoryMembershipDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryMembershipUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryMembershipUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectoryMembershipUpdatePayload) graphql.Marshaler { - return ec._DirectoryMembershipUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryMembershipUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectoryMembershipUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectoryMembershipUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/directorysyncrun.generated.go b/internal/graphapi/generated/directorysyncrun.generated.go index 1c9117b299..07e6f871cf 100644 --- a/internal/graphapi/generated/directorysyncrun.generated.go +++ b/internal/graphapi/generated/directorysyncrun.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _DirectorySyncRunUpdatePayload(ctx context.Context, // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNDirectorySyncRunBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectorySyncRunBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectorySyncRunBulkCreatePayload) graphql.Marshaler { - return ec._DirectorySyncRunBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectorySyncRunBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectorySyncRunBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectorySyncRunBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNDirectorySyncRunBulkCreatePayload2ᚖgithub return ec._DirectorySyncRunBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectorySyncRunCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectorySyncRunCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectorySyncRunCreatePayload) graphql.Marshaler { - return ec._DirectorySyncRunCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectorySyncRunCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectorySyncRunCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectorySyncRunCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNDirectorySyncRunCreatePayload2ᚖgithubᚗco return ec._DirectorySyncRunCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectorySyncRunDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectorySyncRunDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectorySyncRunDeletePayload) graphql.Marshaler { - return ec._DirectorySyncRunDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectorySyncRunDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectorySyncRunDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectorySyncRunDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNDirectorySyncRunDeletePayload2ᚖgithubᚗco return ec._DirectorySyncRunDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDirectorySyncRunUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectorySyncRunUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DirectorySyncRunUpdatePayload) graphql.Marshaler { - return ec._DirectorySyncRunUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectorySyncRunUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDirectorySyncRunUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DirectorySyncRunUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/discussion.generated.go b/internal/graphapi/generated/discussion.generated.go index ea7d72ed01..fcc8596bd2 100644 --- a/internal/graphapi/generated/discussion.generated.go +++ b/internal/graphapi/generated/discussion.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _DiscussionUpdatePayload(ctx context.Context, sel as // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNDiscussionBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDiscussionBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DiscussionBulkCreatePayload) graphql.Marshaler { - return ec._DiscussionBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDiscussionBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDiscussionBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DiscussionBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNDiscussionBulkCreatePayload2ᚖgithubᚗcom return ec._DiscussionBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDiscussionCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDiscussionCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DiscussionCreatePayload) graphql.Marshaler { - return ec._DiscussionCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDiscussionCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDiscussionCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DiscussionCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNDiscussionCreatePayload2ᚖgithubᚗcomᚋth return ec._DiscussionCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDiscussionDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDiscussionDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DiscussionDeletePayload) graphql.Marshaler { - return ec._DiscussionDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDiscussionDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDiscussionDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DiscussionDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNDiscussionDeletePayload2ᚖgithubᚗcomᚋth return ec._DiscussionDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDiscussionUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDiscussionUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DiscussionUpdatePayload) graphql.Marshaler { - return ec._DiscussionUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDiscussionUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDiscussionUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DiscussionUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/dnsverification.generated.go b/internal/graphapi/generated/dnsverification.generated.go index 6470bc5ead..d3ea97384f 100644 --- a/internal/graphapi/generated/dnsverification.generated.go +++ b/internal/graphapi/generated/dnsverification.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _DNSVerificationUpdatePayload(ctx context.Context, s // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNDNSVerificationBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DNSVerificationBulkCreatePayload) graphql.Marshaler { - return ec._DNSVerificationBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDNSVerificationBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DNSVerificationBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNDNSVerificationBulkCreatePayload2ᚖgithub return ec._DNSVerificationBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDNSVerificationBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DNSVerificationBulkDeletePayload) graphql.Marshaler { - return ec._DNSVerificationBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDNSVerificationBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DNSVerificationBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNDNSVerificationBulkDeletePayload2ᚖgithub return ec._DNSVerificationBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDNSVerificationBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DNSVerificationBulkUpdatePayload) graphql.Marshaler { - return ec._DNSVerificationBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDNSVerificationBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DNSVerificationBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNDNSVerificationBulkUpdatePayload2ᚖgithub return ec._DNSVerificationBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDNSVerificationCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DNSVerificationCreatePayload) graphql.Marshaler { - return ec._DNSVerificationCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDNSVerificationCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DNSVerificationCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNDNSVerificationCreatePayload2ᚖgithubᚗcom return ec._DNSVerificationCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDNSVerificationDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DNSVerificationDeletePayload) graphql.Marshaler { - return ec._DNSVerificationDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDNSVerificationDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DNSVerificationDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNDNSVerificationDeletePayload2ᚖgithubᚗcom return ec._DNSVerificationDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDNSVerificationUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DNSVerificationUpdatePayload) graphql.Marshaler { - return ec._DNSVerificationUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDNSVerificationUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDNSVerificationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DNSVerificationUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/documentdata.generated.go b/internal/graphapi/generated/documentdata.generated.go index da01780dc9..e9a340135f 100644 --- a/internal/graphapi/generated/documentdata.generated.go +++ b/internal/graphapi/generated/documentdata.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _DocumentDataUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNDocumentDataBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DocumentDataBulkCreatePayload) graphql.Marshaler { - return ec._DocumentDataBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentDataBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DocumentDataBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNDocumentDataBulkCreatePayload2ᚖgithubᚗco return ec._DocumentDataBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDocumentDataBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DocumentDataBulkDeletePayload) graphql.Marshaler { - return ec._DocumentDataBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentDataBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DocumentDataBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNDocumentDataBulkDeletePayload2ᚖgithubᚗco return ec._DocumentDataBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDocumentDataBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DocumentDataBulkUpdatePayload) graphql.Marshaler { - return ec._DocumentDataBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentDataBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DocumentDataBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNDocumentDataBulkUpdatePayload2ᚖgithubᚗco return ec._DocumentDataBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDocumentDataCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.DocumentDataCreatePayload) graphql.Marshaler { - return ec._DocumentDataCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentDataCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DocumentDataCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNDocumentDataCreatePayload2ᚖgithubᚗcomᚋ return ec._DocumentDataCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDocumentDataDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.DocumentDataDeletePayload) graphql.Marshaler { - return ec._DocumentDataDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentDataDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.DocumentDataDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNDocumentDataDeletePayload2ᚖgithubᚗcomᚋ return ec._DocumentDataDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNDocumentDataUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.DocumentDataUpdatePayload) graphql.Marshaler { - return ec._DocumentDataUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentDataUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐDocumentDataUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.DocumentDataUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/domainscanextended.generated.go b/internal/graphapi/generated/domainscanextended.generated.go index 4b88cc4373..4cfc2d21e2 100644 --- a/internal/graphapi/generated/domainscanextended.generated.go +++ b/internal/graphapi/generated/domainscanextended.generated.go @@ -471,10 +471,6 @@ func (ec *executionContext) unmarshalNImportDomainScanReviewInput2githubᚗcom return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNImportDomainScanReviewPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐImportDomainScanReviewPayload(ctx context.Context, sel ast.SelectionSet, v model.ImportDomainScanReviewPayload) graphql.Marshaler { - return ec._ImportDomainScanReviewPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNImportDomainScanReviewPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐImportDomainScanReviewPayload(ctx context.Context, sel ast.SelectionSet, v *model.ImportDomainScanReviewPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/emailtemplate.generated.go b/internal/graphapi/generated/emailtemplate.generated.go index 4fcd78a3ec..d5d8886a00 100644 --- a/internal/graphapi/generated/emailtemplate.generated.go +++ b/internal/graphapi/generated/emailtemplate.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _EmailTemplateUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNEmailTemplateBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EmailTemplateBulkCreatePayload) graphql.Marshaler { - return ec._EmailTemplateBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EmailTemplateBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNEmailTemplateBulkCreatePayload2ᚖgithubᚗc return ec._EmailTemplateBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEmailTemplateBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EmailTemplateBulkDeletePayload) graphql.Marshaler { - return ec._EmailTemplateBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EmailTemplateBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNEmailTemplateBulkDeletePayload2ᚖgithubᚗc return ec._EmailTemplateBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEmailTemplateBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EmailTemplateBulkUpdatePayload) graphql.Marshaler { - return ec._EmailTemplateBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EmailTemplateBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNEmailTemplateBulkUpdatePayload2ᚖgithubᚗc return ec._EmailTemplateBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEmailTemplateCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EmailTemplateCreatePayload) graphql.Marshaler { - return ec._EmailTemplateCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EmailTemplateCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNEmailTemplateCreatePayload2ᚖgithubᚗcom return ec._EmailTemplateCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEmailTemplateDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EmailTemplateDeletePayload) graphql.Marshaler { - return ec._EmailTemplateDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EmailTemplateDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNEmailTemplateDeletePayload2ᚖgithubᚗcom return ec._EmailTemplateDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEmailTemplateUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EmailTemplateUpdatePayload) graphql.Marshaler { - return ec._EmailTemplateUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EmailTemplateUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/emailtemplateextended.generated.go b/internal/graphapi/generated/emailtemplateextended.generated.go index 394f396f65..662ebf1790 100644 --- a/internal/graphapi/generated/emailtemplateextended.generated.go +++ b/internal/graphapi/generated/emailtemplateextended.generated.go @@ -348,10 +348,6 @@ func (ec *executionContext) _EmailTemplateCatalogEntry(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNEmailTemplateCatalog2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateCatalog(ctx context.Context, sel ast.SelectionSet, v model.EmailTemplateCatalog) graphql.Marshaler { - return ec._EmailTemplateCatalog(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateCatalog2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEmailTemplateCatalog(ctx context.Context, sel ast.SelectionSet, v *model.EmailTemplateCatalog) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/ent.generated.go b/internal/graphapi/generated/ent.generated.go index 35e99ec80a..d182f7be47 100644 --- a/internal/graphapi/generated/ent.generated.go +++ b/internal/graphapi/generated/ent.generated.go @@ -457257,10 +457257,6 @@ func (ec *executionContext) _WorkflowProposal(ctx context.Context, sel ast.Selec // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNAPIToken2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAPIToken(ctx context.Context, sel ast.SelectionSet, v generated.APIToken) graphql.Marshaler { - return ec._APIToken(ctx, sel, &v) -} - func (ec *executionContext) marshalNAPIToken2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAPIToken(ctx context.Context, sel ast.SelectionSet, v *generated.APIToken) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457271,10 +457267,6 @@ func (ec *executionContext) marshalNAPIToken2ᚖgithubᚗcomᚋtheopenlaneᚋcor return ec._APIToken(ctx, sel, v) } -func (ec *executionContext) marshalNAPITokenConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAPITokenConnection(ctx context.Context, sel ast.SelectionSet, v generated.APITokenConnection) graphql.Marshaler { - return ec._APITokenConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNAPITokenConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAPITokenConnection(ctx context.Context, sel ast.SelectionSet, v *generated.APITokenConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457311,10 +457303,6 @@ func (ec *executionContext) unmarshalNAPITokenWhereInput2ᚖgithubᚗcomᚋtheop return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNActionPlan2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐActionPlan(ctx context.Context, sel ast.SelectionSet, v generated.ActionPlan) graphql.Marshaler { - return ec._ActionPlan(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlan2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐActionPlan(ctx context.Context, sel ast.SelectionSet, v *generated.ActionPlan) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457325,10 +457313,6 @@ func (ec *executionContext) marshalNActionPlan2ᚖgithubᚗcomᚋtheopenlaneᚋc return ec._ActionPlan(ctx, sel, v) } -func (ec *executionContext) marshalNActionPlanConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐActionPlanConnection(ctx context.Context, sel ast.SelectionSet, v generated.ActionPlanConnection) graphql.Marshaler { - return ec._ActionPlanConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlanConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐActionPlanConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ActionPlanConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457405,10 +457389,6 @@ func (ec *executionContext) unmarshalNActionPlanWhereInput2ᚖgithubᚗcomᚋthe return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNAssessment2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssessment(ctx context.Context, sel ast.SelectionSet, v generated.Assessment) graphql.Marshaler { - return ec._Assessment(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessment2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssessment(ctx context.Context, sel ast.SelectionSet, v *generated.Assessment) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457429,10 +457409,6 @@ func (ec *executionContext) marshalNAssessmentAssessmentType2githubᚗcomᚋtheo return v } -func (ec *executionContext) marshalNAssessmentConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssessmentConnection(ctx context.Context, sel ast.SelectionSet, v generated.AssessmentConnection) graphql.Marshaler { - return ec._AssessmentConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssessmentConnection(ctx context.Context, sel ast.SelectionSet, v *generated.AssessmentConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457464,10 +457440,6 @@ func (ec *executionContext) marshalNAssessmentOrderField2ᚖgithubᚗcomᚋtheop return v } -func (ec *executionContext) marshalNAssessmentResponse2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssessmentResponse(ctx context.Context, sel ast.SelectionSet, v generated.AssessmentResponse) graphql.Marshaler { - return ec._AssessmentResponse(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentResponse2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssessmentResponse(ctx context.Context, sel ast.SelectionSet, v *generated.AssessmentResponse) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457488,10 +457460,6 @@ func (ec *executionContext) marshalNAssessmentResponseAssessmentResponseStatus2g return v } -func (ec *executionContext) marshalNAssessmentResponseConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssessmentResponseConnection(ctx context.Context, sel ast.SelectionSet, v generated.AssessmentResponseConnection) graphql.Marshaler { - return ec._AssessmentResponseConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentResponseConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssessmentResponseConnection(ctx context.Context, sel ast.SelectionSet, v *generated.AssessmentResponseConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457533,10 +457501,6 @@ func (ec *executionContext) unmarshalNAssessmentWhereInput2ᚖgithubᚗcomᚋthe return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNAsset2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAsset(ctx context.Context, sel ast.SelectionSet, v generated.Asset) graphql.Marshaler { - return ec._Asset(ctx, sel, &v) -} - func (ec *executionContext) marshalNAsset2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAsset(ctx context.Context, sel ast.SelectionSet, v *generated.Asset) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457557,10 +457521,6 @@ func (ec *executionContext) marshalNAssetAssetType2githubᚗcomᚋtheopenlaneᚋ return v } -func (ec *executionContext) marshalNAssetConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssetConnection(ctx context.Context, sel ast.SelectionSet, v generated.AssetConnection) graphql.Marshaler { - return ec._AssetConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssetConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐAssetConnection(ctx context.Context, sel ast.SelectionSet, v *generated.AssetConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457607,10 +457567,6 @@ func (ec *executionContext) unmarshalNAssetWhereInput2ᚖgithubᚗcomᚋtheopenl return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNCampaign2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCampaign(ctx context.Context, sel ast.SelectionSet, v generated.Campaign) graphql.Marshaler { - return ec._Campaign(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaign2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCampaign(ctx context.Context, sel ast.SelectionSet, v *generated.Campaign) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457641,10 +457597,6 @@ func (ec *executionContext) marshalNCampaignCampaignType2githubᚗcomᚋtheopenl return v } -func (ec *executionContext) marshalNCampaignConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCampaignConnection(ctx context.Context, sel ast.SelectionSet, v generated.CampaignConnection) graphql.Marshaler { - return ec._CampaignConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCampaignConnection(ctx context.Context, sel ast.SelectionSet, v *generated.CampaignConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457686,10 +457638,6 @@ func (ec *executionContext) marshalNCampaignOrderField2ᚖgithubᚗcomᚋtheopen return v } -func (ec *executionContext) marshalNCampaignTarget2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCampaignTarget(ctx context.Context, sel ast.SelectionSet, v generated.CampaignTarget) graphql.Marshaler { - return ec._CampaignTarget(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignTarget2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCampaignTarget(ctx context.Context, sel ast.SelectionSet, v *generated.CampaignTarget) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457710,10 +457658,6 @@ func (ec *executionContext) marshalNCampaignTargetAssessmentResponseStatus2githu return v } -func (ec *executionContext) marshalNCampaignTargetConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCampaignTargetConnection(ctx context.Context, sel ast.SelectionSet, v generated.CampaignTargetConnection) graphql.Marshaler { - return ec._CampaignTargetConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignTargetConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCampaignTargetConnection(ctx context.Context, sel ast.SelectionSet, v *generated.CampaignTargetConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457755,10 +457699,6 @@ func (ec *executionContext) unmarshalNCampaignWhereInput2ᚖgithubᚗcomᚋtheop return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNCheckResult2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCheckResult(ctx context.Context, sel ast.SelectionSet, v generated.CheckResult) graphql.Marshaler { - return ec._CheckResult(ctx, sel, &v) -} - func (ec *executionContext) marshalNCheckResult2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCheckResult(ctx context.Context, sel ast.SelectionSet, v *generated.CheckResult) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457779,10 +457719,6 @@ func (ec *executionContext) marshalNCheckResultCheckStatus2githubᚗcomᚋtheope return v } -func (ec *executionContext) marshalNCheckResultConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCheckResultConnection(ctx context.Context, sel ast.SelectionSet, v generated.CheckResultConnection) graphql.Marshaler { - return ec._CheckResultConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNCheckResultConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCheckResultConnection(ctx context.Context, sel ast.SelectionSet, v *generated.CheckResultConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457819,10 +457755,6 @@ func (ec *executionContext) unmarshalNCheckResultWhereInput2ᚖgithubᚗcomᚋth return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNContact2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐContact(ctx context.Context, sel ast.SelectionSet, v generated.Contact) graphql.Marshaler { - return ec._Contact(ctx, sel, &v) -} - func (ec *executionContext) marshalNContact2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐContact(ctx context.Context, sel ast.SelectionSet, v *generated.Contact) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457833,10 +457765,6 @@ func (ec *executionContext) marshalNContact2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Contact(ctx, sel, v) } -func (ec *executionContext) marshalNContactConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐContactConnection(ctx context.Context, sel ast.SelectionSet, v generated.ContactConnection) graphql.Marshaler { - return ec._ContactConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNContactConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐContactConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ContactConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457883,10 +457811,6 @@ func (ec *executionContext) unmarshalNContactWhereInput2ᚖgithubᚗcomᚋtheope return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNControl2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControl(ctx context.Context, sel ast.SelectionSet, v generated.Control) graphql.Marshaler { - return ec._Control(ctx, sel, &v) -} - func (ec *executionContext) marshalNControl2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControl(ctx context.Context, sel ast.SelectionSet, v *generated.Control) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457897,10 +457821,6 @@ func (ec *executionContext) marshalNControl2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Control(ctx, sel, v) } -func (ec *executionContext) marshalNControlConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlConnection(ctx context.Context, sel ast.SelectionSet, v generated.ControlConnection) graphql.Marshaler { - return ec._ControlConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ControlConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457941,10 +457861,6 @@ func (ec *executionContext) marshalNControlControlStatus2githubᚗcomᚋtheopenl return v } -func (ec *executionContext) marshalNControlImplementation2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlImplementation(ctx context.Context, sel ast.SelectionSet, v generated.ControlImplementation) graphql.Marshaler { - return ec._ControlImplementation(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementation2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlImplementation(ctx context.Context, sel ast.SelectionSet, v *generated.ControlImplementation) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457955,10 +457871,6 @@ func (ec *executionContext) marshalNControlImplementation2ᚖgithubᚗcomᚋtheo return ec._ControlImplementation(ctx, sel, v) } -func (ec *executionContext) marshalNControlImplementationConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlImplementationConnection(ctx context.Context, sel ast.SelectionSet, v generated.ControlImplementationConnection) graphql.Marshaler { - return ec._ControlImplementationConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementationConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlImplementationConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ControlImplementationConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -458005,10 +457917,6 @@ func (ec *executionContext) unmarshalNControlImplementationWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNControlObjective2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlObjective(ctx context.Context, sel ast.SelectionSet, v generated.ControlObjective) graphql.Marshaler { - return ec._ControlObjective(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjective2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlObjective(ctx context.Context, sel ast.SelectionSet, v *generated.ControlObjective) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -458019,10 +457927,6 @@ func (ec *executionContext) marshalNControlObjective2ᚖgithubᚗcomᚋtheopenla return ec._ControlObjective(ctx, sel, v) } -func (ec *executionContext) marshalNControlObjectiveConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlObjectiveConnection(ctx context.Context, sel ast.SelectionSet, v generated.ControlObjectiveConnection) graphql.Marshaler { - return ec._ControlObjectiveConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjectiveConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐControlObjectiveConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ControlObjectiveConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -458860,10 +458764,6 @@ func (ec *executionContext) marshalNCursor2entgoᚗioᚋcontribᚋentgqlᚐCurso return v } -func (ec *executionContext) marshalNCustomDomain2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCustomDomain(ctx context.Context, sel ast.SelectionSet, v generated.CustomDomain) graphql.Marshaler { - return ec._CustomDomain(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomain2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCustomDomain(ctx context.Context, sel ast.SelectionSet, v *generated.CustomDomain) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -458874,10 +458774,6 @@ func (ec *executionContext) marshalNCustomDomain2ᚖgithubᚗcomᚋtheopenlane return ec._CustomDomain(ctx, sel, v) } -func (ec *executionContext) marshalNCustomDomainConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCustomDomainConnection(ctx context.Context, sel ast.SelectionSet, v generated.CustomDomainConnection) graphql.Marshaler { - return ec._CustomDomainConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCustomDomainConnection(ctx context.Context, sel ast.SelectionSet, v *generated.CustomDomainConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -458924,10 +458820,6 @@ func (ec *executionContext) unmarshalNCustomDomainWhereInput2ᚖgithubᚗcomᚋt return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNCustomTypeEnum2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCustomTypeEnum(ctx context.Context, sel ast.SelectionSet, v generated.CustomTypeEnum) graphql.Marshaler { - return ec._CustomTypeEnum(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomTypeEnum2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCustomTypeEnum(ctx context.Context, sel ast.SelectionSet, v *generated.CustomTypeEnum) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -458938,10 +458830,6 @@ func (ec *executionContext) marshalNCustomTypeEnum2ᚖgithubᚗcomᚋtheopenlane return ec._CustomTypeEnum(ctx, sel, v) } -func (ec *executionContext) marshalNCustomTypeEnumConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCustomTypeEnumConnection(ctx context.Context, sel ast.SelectionSet, v generated.CustomTypeEnumConnection) graphql.Marshaler { - return ec._CustomTypeEnumConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomTypeEnumConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐCustomTypeEnumConnection(ctx context.Context, sel ast.SelectionSet, v *generated.CustomTypeEnumConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -458978,10 +458866,6 @@ func (ec *executionContext) unmarshalNCustomTypeEnumWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDNSVerification2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDNSVerification(ctx context.Context, sel ast.SelectionSet, v generated.DNSVerification) graphql.Marshaler { - return ec._DNSVerification(ctx, sel, &v) -} - func (ec *executionContext) marshalNDNSVerification2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDNSVerification(ctx context.Context, sel ast.SelectionSet, v *generated.DNSVerification) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -458992,10 +458876,6 @@ func (ec *executionContext) marshalNDNSVerification2ᚖgithubᚗcomᚋtheopenlan return ec._DNSVerification(ctx, sel, v) } -func (ec *executionContext) marshalNDNSVerificationConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDNSVerificationConnection(ctx context.Context, sel ast.SelectionSet, v generated.DNSVerificationConnection) graphql.Marshaler { - return ec._DNSVerificationConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDNSVerificationConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDNSVerificationConnection(ctx context.Context, sel ast.SelectionSet, v *generated.DNSVerificationConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459052,10 +458932,6 @@ func (ec *executionContext) unmarshalNDNSVerificationWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDirectoryAccount2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryAccount(ctx context.Context, sel ast.SelectionSet, v generated.DirectoryAccount) graphql.Marshaler { - return ec._DirectoryAccount(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryAccount2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryAccount(ctx context.Context, sel ast.SelectionSet, v *generated.DirectoryAccount) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459066,10 +458942,6 @@ func (ec *executionContext) marshalNDirectoryAccount2ᚖgithubᚗcomᚋtheopenla return ec._DirectoryAccount(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryAccountConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryAccountConnection(ctx context.Context, sel ast.SelectionSet, v generated.DirectoryAccountConnection) graphql.Marshaler { - return ec._DirectoryAccountConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryAccountConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryAccountConnection(ctx context.Context, sel ast.SelectionSet, v *generated.DirectoryAccountConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459136,10 +459008,6 @@ func (ec *executionContext) unmarshalNDirectoryAccountWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDirectoryGroup2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryGroup(ctx context.Context, sel ast.SelectionSet, v generated.DirectoryGroup) graphql.Marshaler { - return ec._DirectoryGroup(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryGroup2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryGroup(ctx context.Context, sel ast.SelectionSet, v *generated.DirectoryGroup) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459150,10 +459018,6 @@ func (ec *executionContext) marshalNDirectoryGroup2ᚖgithubᚗcomᚋtheopenlane return ec._DirectoryGroup(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryGroupConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryGroupConnection(ctx context.Context, sel ast.SelectionSet, v generated.DirectoryGroupConnection) graphql.Marshaler { - return ec._DirectoryGroupConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryGroupConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryGroupConnection(ctx context.Context, sel ast.SelectionSet, v *generated.DirectoryGroupConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459210,10 +459074,6 @@ func (ec *executionContext) unmarshalNDirectoryGroupWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDirectoryMembership2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryMembership(ctx context.Context, sel ast.SelectionSet, v generated.DirectoryMembership) graphql.Marshaler { - return ec._DirectoryMembership(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryMembership2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryMembership(ctx context.Context, sel ast.SelectionSet, v *generated.DirectoryMembership) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459224,10 +459084,6 @@ func (ec *executionContext) marshalNDirectoryMembership2ᚖgithubᚗcomᚋtheope return ec._DirectoryMembership(ctx, sel, v) } -func (ec *executionContext) marshalNDirectoryMembershipConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryMembershipConnection(ctx context.Context, sel ast.SelectionSet, v generated.DirectoryMembershipConnection) graphql.Marshaler { - return ec._DirectoryMembershipConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectoryMembershipConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectoryMembershipConnection(ctx context.Context, sel ast.SelectionSet, v *generated.DirectoryMembershipConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459274,10 +459130,6 @@ func (ec *executionContext) unmarshalNDirectoryMembershipWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDirectorySyncRun2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectorySyncRun(ctx context.Context, sel ast.SelectionSet, v generated.DirectorySyncRun) graphql.Marshaler { - return ec._DirectorySyncRun(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectorySyncRun2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectorySyncRun(ctx context.Context, sel ast.SelectionSet, v *generated.DirectorySyncRun) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459288,10 +459140,6 @@ func (ec *executionContext) marshalNDirectorySyncRun2ᚖgithubᚗcomᚋtheopenla return ec._DirectorySyncRun(ctx, sel, v) } -func (ec *executionContext) marshalNDirectorySyncRunConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectorySyncRunConnection(ctx context.Context, sel ast.SelectionSet, v generated.DirectorySyncRunConnection) graphql.Marshaler { - return ec._DirectorySyncRunConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDirectorySyncRunConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDirectorySyncRunConnection(ctx context.Context, sel ast.SelectionSet, v *generated.DirectorySyncRunConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459338,10 +459186,6 @@ func (ec *executionContext) unmarshalNDirectorySyncRunWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDiscussion2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDiscussion(ctx context.Context, sel ast.SelectionSet, v generated.Discussion) graphql.Marshaler { - return ec._Discussion(ctx, sel, &v) -} - func (ec *executionContext) marshalNDiscussion2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDiscussion(ctx context.Context, sel ast.SelectionSet, v *generated.Discussion) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459352,10 +459196,6 @@ func (ec *executionContext) marshalNDiscussion2ᚖgithubᚗcomᚋtheopenlaneᚋc return ec._Discussion(ctx, sel, v) } -func (ec *executionContext) marshalNDiscussionConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDiscussionConnection(ctx context.Context, sel ast.SelectionSet, v generated.DiscussionConnection) graphql.Marshaler { - return ec._DiscussionConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDiscussionConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDiscussionConnection(ctx context.Context, sel ast.SelectionSet, v *generated.DiscussionConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459392,10 +459232,6 @@ func (ec *executionContext) unmarshalNDiscussionWhereInput2ᚖgithubᚗcomᚋthe return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDocumentData2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDocumentData(ctx context.Context, sel ast.SelectionSet, v generated.DocumentData) graphql.Marshaler { - return ec._DocumentData(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentData2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDocumentData(ctx context.Context, sel ast.SelectionSet, v *generated.DocumentData) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459406,10 +459242,6 @@ func (ec *executionContext) marshalNDocumentData2ᚖgithubᚗcomᚋtheopenlane return ec._DocumentData(ctx, sel, v) } -func (ec *executionContext) marshalNDocumentDataConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDocumentDataConnection(ctx context.Context, sel ast.SelectionSet, v generated.DocumentDataConnection) graphql.Marshaler { - return ec._DocumentDataConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentDataConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐDocumentDataConnection(ctx context.Context, sel ast.SelectionSet, v *generated.DocumentDataConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459446,10 +459278,6 @@ func (ec *executionContext) unmarshalNDocumentDataWhereInput2ᚖgithubᚗcomᚋt return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEmailTemplate2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEmailTemplate(ctx context.Context, sel ast.SelectionSet, v generated.EmailTemplate) graphql.Marshaler { - return ec._EmailTemplate(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplate2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEmailTemplate(ctx context.Context, sel ast.SelectionSet, v *generated.EmailTemplate) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459460,10 +459288,6 @@ func (ec *executionContext) marshalNEmailTemplate2ᚖgithubᚗcomᚋtheopenlane return ec._EmailTemplate(ctx, sel, v) } -func (ec *executionContext) marshalNEmailTemplateConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEmailTemplateConnection(ctx context.Context, sel ast.SelectionSet, v generated.EmailTemplateConnection) graphql.Marshaler { - return ec._EmailTemplateConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEmailTemplateConnection(ctx context.Context, sel ast.SelectionSet, v *generated.EmailTemplateConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459520,10 +459344,6 @@ func (ec *executionContext) unmarshalNEmailTemplateWhereInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEntity2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEntity(ctx context.Context, sel ast.SelectionSet, v generated.Entity) graphql.Marshaler { - return ec._Entity(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntity2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEntity(ctx context.Context, sel ast.SelectionSet, v *generated.Entity) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459534,10 +459354,6 @@ func (ec *executionContext) marshalNEntity2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Entity(ctx, sel, v) } -func (ec *executionContext) marshalNEntityConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEntityConnection(ctx context.Context, sel ast.SelectionSet, v generated.EntityConnection) graphql.Marshaler { - return ec._EntityConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEntityConnection(ctx context.Context, sel ast.SelectionSet, v *generated.EntityConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459589,10 +459405,6 @@ func (ec *executionContext) marshalNEntityOrderField2ᚖgithubᚗcomᚋtheopenla return v } -func (ec *executionContext) marshalNEntityType2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEntityType(ctx context.Context, sel ast.SelectionSet, v generated.EntityType) graphql.Marshaler { - return ec._EntityType(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityType2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEntityType(ctx context.Context, sel ast.SelectionSet, v *generated.EntityType) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459603,10 +459415,6 @@ func (ec *executionContext) marshalNEntityType2ᚖgithubᚗcomᚋtheopenlaneᚋc return ec._EntityType(ctx, sel, v) } -func (ec *executionContext) marshalNEntityTypeConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEntityTypeConnection(ctx context.Context, sel ast.SelectionSet, v generated.EntityTypeConnection) graphql.Marshaler { - return ec._EntityTypeConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityTypeConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEntityTypeConnection(ctx context.Context, sel ast.SelectionSet, v *generated.EntityTypeConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459658,10 +459466,6 @@ func (ec *executionContext) unmarshalNEntityWhereInput2ᚖgithubᚗcomᚋtheopen return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEvent2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEvent(ctx context.Context, sel ast.SelectionSet, v generated.Event) graphql.Marshaler { - return ec._Event(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvent2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEvent(ctx context.Context, sel ast.SelectionSet, v *generated.Event) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459672,10 +459476,6 @@ func (ec *executionContext) marshalNEvent2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Event(ctx, sel, v) } -func (ec *executionContext) marshalNEventConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEventConnection(ctx context.Context, sel ast.SelectionSet, v generated.EventConnection) graphql.Marshaler { - return ec._EventConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEventConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEventConnection(ctx context.Context, sel ast.SelectionSet, v *generated.EventConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459712,10 +459512,6 @@ func (ec *executionContext) unmarshalNEventWhereInput2ᚖgithubᚗcomᚋtheopenl return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEvidence2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEvidence(ctx context.Context, sel ast.SelectionSet, v generated.Evidence) graphql.Marshaler { - return ec._Evidence(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidence2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEvidence(ctx context.Context, sel ast.SelectionSet, v *generated.Evidence) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459726,10 +459522,6 @@ func (ec *executionContext) marshalNEvidence2ᚖgithubᚗcomᚋtheopenlaneᚋcor return ec._Evidence(ctx, sel, v) } -func (ec *executionContext) marshalNEvidenceConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEvidenceConnection(ctx context.Context, sel ast.SelectionSet, v generated.EvidenceConnection) graphql.Marshaler { - return ec._EvidenceConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidenceConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐEvidenceConnection(ctx context.Context, sel ast.SelectionSet, v *generated.EvidenceConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459786,10 +459578,6 @@ func (ec *executionContext) unmarshalNEvidenceWhereInput2ᚖgithubᚗcomᚋtheop return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNExport2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐExport(ctx context.Context, sel ast.SelectionSet, v generated.Export) graphql.Marshaler { - return ec._Export(ctx, sel, &v) -} - func (ec *executionContext) marshalNExport2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐExport(ctx context.Context, sel ast.SelectionSet, v *generated.Export) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459800,10 +459588,6 @@ func (ec *executionContext) marshalNExport2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Export(ctx, sel, v) } -func (ec *executionContext) marshalNExportConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐExportConnection(ctx context.Context, sel ast.SelectionSet, v generated.ExportConnection) graphql.Marshaler { - return ec._ExportConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNExportConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐExportConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ExportConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459880,10 +459664,6 @@ func (ec *executionContext) unmarshalNExportWhereInput2ᚖgithubᚗcomᚋtheopen return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNFile2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFile(ctx context.Context, sel ast.SelectionSet, v generated.File) graphql.Marshaler { - return ec._File(ctx, sel, &v) -} - func (ec *executionContext) marshalNFile2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFile(ctx context.Context, sel ast.SelectionSet, v *generated.File) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459894,10 +459674,6 @@ func (ec *executionContext) marshalNFile2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋ return ec._File(ctx, sel, v) } -func (ec *executionContext) marshalNFileConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFileConnection(ctx context.Context, sel ast.SelectionSet, v generated.FileConnection) graphql.Marshaler { - return ec._FileConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNFileConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFileConnection(ctx context.Context, sel ast.SelectionSet, v *generated.FileConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459934,10 +459710,6 @@ func (ec *executionContext) unmarshalNFileWhereInput2ᚖgithubᚗcomᚋtheopenla return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNFinding2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFinding(ctx context.Context, sel ast.SelectionSet, v generated.Finding) graphql.Marshaler { - return ec._Finding(ctx, sel, &v) -} - func (ec *executionContext) marshalNFinding2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFinding(ctx context.Context, sel ast.SelectionSet, v *generated.Finding) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459948,10 +459720,6 @@ func (ec *executionContext) marshalNFinding2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Finding(ctx, sel, v) } -func (ec *executionContext) marshalNFindingConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFindingConnection(ctx context.Context, sel ast.SelectionSet, v generated.FindingConnection) graphql.Marshaler { - return ec._FindingConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFindingConnection(ctx context.Context, sel ast.SelectionSet, v *generated.FindingConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459962,10 +459730,6 @@ func (ec *executionContext) marshalNFindingConnection2ᚖgithubᚗcomᚋtheopenl return ec._FindingConnection(ctx, sel, v) } -func (ec *executionContext) marshalNFindingControl2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFindingControl(ctx context.Context, sel ast.SelectionSet, v generated.FindingControl) graphql.Marshaler { - return ec._FindingControl(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingControl2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFindingControl(ctx context.Context, sel ast.SelectionSet, v *generated.FindingControl) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -459976,10 +459740,6 @@ func (ec *executionContext) marshalNFindingControl2ᚖgithubᚗcomᚋtheopenlane return ec._FindingControl(ctx, sel, v) } -func (ec *executionContext) marshalNFindingControlConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFindingControlConnection(ctx context.Context, sel ast.SelectionSet, v generated.FindingControlConnection) graphql.Marshaler { - return ec._FindingControlConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingControlConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐFindingControlConnection(ctx context.Context, sel ast.SelectionSet, v *generated.FindingControlConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460052,10 +459812,6 @@ func (ec *executionContext) unmarshalNFindingWhereInput2ᚖgithubᚗcomᚋtheope return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNGroup2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroup(ctx context.Context, sel ast.SelectionSet, v generated.Group) graphql.Marshaler { - return ec._Group(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroup2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroup(ctx context.Context, sel ast.SelectionSet, v *generated.Group) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460066,10 +459822,6 @@ func (ec *executionContext) marshalNGroup2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Group(ctx, sel, v) } -func (ec *executionContext) marshalNGroupConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupConnection(ctx context.Context, sel ast.SelectionSet, v generated.GroupConnection) graphql.Marshaler { - return ec._GroupConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupConnection(ctx context.Context, sel ast.SelectionSet, v *generated.GroupConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460080,10 +459832,6 @@ func (ec *executionContext) marshalNGroupConnection2ᚖgithubᚗcomᚋtheopenlan return ec._GroupConnection(ctx, sel, v) } -func (ec *executionContext) marshalNGroupMembership2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupMembership(ctx context.Context, sel ast.SelectionSet, v generated.GroupMembership) graphql.Marshaler { - return ec._GroupMembership(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembership2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupMembership(ctx context.Context, sel ast.SelectionSet, v *generated.GroupMembership) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460094,10 +459842,6 @@ func (ec *executionContext) marshalNGroupMembership2ᚖgithubᚗcomᚋtheopenlan return ec._GroupMembership(ctx, sel, v) } -func (ec *executionContext) marshalNGroupMembershipConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupMembershipConnection(ctx context.Context, sel ast.SelectionSet, v generated.GroupMembershipConnection) graphql.Marshaler { - return ec._GroupMembershipConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembershipConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupMembershipConnection(ctx context.Context, sel ast.SelectionSet, v *generated.GroupMembershipConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460165,10 +459909,6 @@ func (ec *executionContext) marshalNGroupOrderField2ᚖgithubᚗcomᚋtheopenlan return v } -func (ec *executionContext) marshalNGroupSetting2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupSetting(ctx context.Context, sel ast.SelectionSet, v generated.GroupSetting) graphql.Marshaler { - return ec._GroupSetting(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSetting2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupSetting(ctx context.Context, sel ast.SelectionSet, v *generated.GroupSetting) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460179,10 +459919,6 @@ func (ec *executionContext) marshalNGroupSetting2ᚖgithubᚗcomᚋtheopenlane return ec._GroupSetting(ctx, sel, v) } -func (ec *executionContext) marshalNGroupSettingConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupSettingConnection(ctx context.Context, sel ast.SelectionSet, v generated.GroupSettingConnection) graphql.Marshaler { - return ec._GroupSettingConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSettingConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐGroupSettingConnection(ctx context.Context, sel ast.SelectionSet, v *generated.GroupSettingConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460244,10 +459980,6 @@ func (ec *executionContext) unmarshalNGroupWhereInput2ᚖgithubᚗcomᚋtheopenl return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNHush2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐHush(ctx context.Context, sel ast.SelectionSet, v generated.Hush) graphql.Marshaler { - return ec._Hush(ctx, sel, &v) -} - func (ec *executionContext) marshalNHush2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐHush(ctx context.Context, sel ast.SelectionSet, v *generated.Hush) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460258,10 +459990,6 @@ func (ec *executionContext) marshalNHush2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋ return ec._Hush(ctx, sel, v) } -func (ec *executionContext) marshalNHushConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐHushConnection(ctx context.Context, sel ast.SelectionSet, v generated.HushConnection) graphql.Marshaler { - return ec._HushConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNHushConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐHushConnection(ctx context.Context, sel ast.SelectionSet, v *generated.HushConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460298,10 +460026,6 @@ func (ec *executionContext) unmarshalNHushWhereInput2ᚖgithubᚗcomᚋtheopenla return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNIdentityHolder2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐIdentityHolder(ctx context.Context, sel ast.SelectionSet, v generated.IdentityHolder) graphql.Marshaler { - return ec._IdentityHolder(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolder2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐIdentityHolder(ctx context.Context, sel ast.SelectionSet, v *generated.IdentityHolder) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460312,10 +460036,6 @@ func (ec *executionContext) marshalNIdentityHolder2ᚖgithubᚗcomᚋtheopenlane return ec._IdentityHolder(ctx, sel, v) } -func (ec *executionContext) marshalNIdentityHolderConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐIdentityHolderConnection(ctx context.Context, sel ast.SelectionSet, v generated.IdentityHolderConnection) graphql.Marshaler { - return ec._IdentityHolderConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolderConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐIdentityHolderConnection(ctx context.Context, sel ast.SelectionSet, v *generated.IdentityHolderConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460372,10 +460092,6 @@ func (ec *executionContext) unmarshalNIdentityHolderWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNIntegration2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐIntegration(ctx context.Context, sel ast.SelectionSet, v generated.Integration) graphql.Marshaler { - return ec._Integration(ctx, sel, &v) -} - func (ec *executionContext) marshalNIntegration2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐIntegration(ctx context.Context, sel ast.SelectionSet, v *generated.Integration) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460386,10 +460102,6 @@ func (ec *executionContext) marshalNIntegration2ᚖgithubᚗcomᚋtheopenlaneᚋ return ec._Integration(ctx, sel, v) } -func (ec *executionContext) marshalNIntegrationConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐIntegrationConnection(ctx context.Context, sel ast.SelectionSet, v generated.IntegrationConnection) graphql.Marshaler { - return ec._IntegrationConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNIntegrationConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐIntegrationConnection(ctx context.Context, sel ast.SelectionSet, v *generated.IntegrationConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460436,10 +460148,6 @@ func (ec *executionContext) unmarshalNIntegrationWhereInput2ᚖgithubᚗcomᚋth return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNInternalPolicy2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐInternalPolicy(ctx context.Context, sel ast.SelectionSet, v generated.InternalPolicy) graphql.Marshaler { - return ec._InternalPolicy(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicy2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐInternalPolicy(ctx context.Context, sel ast.SelectionSet, v *generated.InternalPolicy) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460450,10 +460158,6 @@ func (ec *executionContext) marshalNInternalPolicy2ᚖgithubᚗcomᚋtheopenlane return ec._InternalPolicy(ctx, sel, v) } -func (ec *executionContext) marshalNInternalPolicyConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐInternalPolicyConnection(ctx context.Context, sel ast.SelectionSet, v generated.InternalPolicyConnection) graphql.Marshaler { - return ec._InternalPolicyConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicyConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐInternalPolicyConnection(ctx context.Context, sel ast.SelectionSet, v *generated.InternalPolicyConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460520,10 +460224,6 @@ func (ec *executionContext) unmarshalNInternalPolicyWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNInvite2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐInvite(ctx context.Context, sel ast.SelectionSet, v generated.Invite) graphql.Marshaler { - return ec._Invite(ctx, sel, &v) -} - func (ec *executionContext) marshalNInvite2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐInvite(ctx context.Context, sel ast.SelectionSet, v *generated.Invite) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460534,10 +460234,6 @@ func (ec *executionContext) marshalNInvite2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Invite(ctx, sel, v) } -func (ec *executionContext) marshalNInviteConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐInviteConnection(ctx context.Context, sel ast.SelectionSet, v generated.InviteConnection) graphql.Marshaler { - return ec._InviteConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNInviteConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐInviteConnection(ctx context.Context, sel ast.SelectionSet, v *generated.InviteConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460616,10 +460312,6 @@ func (ec *executionContext) marshalNMap2map(ctx context.Context, sel ast.Selecti return res } -func (ec *executionContext) marshalNMappableDomain2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐMappableDomain(ctx context.Context, sel ast.SelectionSet, v generated.MappableDomain) graphql.Marshaler { - return ec._MappableDomain(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomain2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐMappableDomain(ctx context.Context, sel ast.SelectionSet, v *generated.MappableDomain) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460630,10 +460322,6 @@ func (ec *executionContext) marshalNMappableDomain2ᚖgithubᚗcomᚋtheopenlane return ec._MappableDomain(ctx, sel, v) } -func (ec *executionContext) marshalNMappableDomainConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐMappableDomainConnection(ctx context.Context, sel ast.SelectionSet, v generated.MappableDomainConnection) graphql.Marshaler { - return ec._MappableDomainConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomainConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐMappableDomainConnection(ctx context.Context, sel ast.SelectionSet, v *generated.MappableDomainConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460670,10 +460358,6 @@ func (ec *executionContext) unmarshalNMappableDomainWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNMappedControl2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐMappedControl(ctx context.Context, sel ast.SelectionSet, v generated.MappedControl) graphql.Marshaler { - return ec._MappedControl(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControl2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐMappedControl(ctx context.Context, sel ast.SelectionSet, v *generated.MappedControl) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460684,10 +460368,6 @@ func (ec *executionContext) marshalNMappedControl2ᚖgithubᚗcomᚋtheopenlane return ec._MappedControl(ctx, sel, v) } -func (ec *executionContext) marshalNMappedControlConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐMappedControlConnection(ctx context.Context, sel ast.SelectionSet, v generated.MappedControlConnection) graphql.Marshaler { - return ec._MappedControlConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControlConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐMappedControlConnection(ctx context.Context, sel ast.SelectionSet, v *generated.MappedControlConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460744,10 +460424,6 @@ func (ec *executionContext) unmarshalNMappedControlWhereInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNNarrative2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNarrative(ctx context.Context, sel ast.SelectionSet, v generated.Narrative) graphql.Marshaler { - return ec._Narrative(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrative2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNarrative(ctx context.Context, sel ast.SelectionSet, v *generated.Narrative) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460758,10 +460434,6 @@ func (ec *executionContext) marshalNNarrative2ᚖgithubᚗcomᚋtheopenlaneᚋco return ec._Narrative(ctx, sel, v) } -func (ec *executionContext) marshalNNarrativeConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNarrativeConnection(ctx context.Context, sel ast.SelectionSet, v generated.NarrativeConnection) graphql.Marshaler { - return ec._NarrativeConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrativeConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNarrativeConnection(ctx context.Context, sel ast.SelectionSet, v *generated.NarrativeConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460808,10 +460480,6 @@ func (ec *executionContext) marshalNNode2ᚕgithubᚗcomᚋtheopenlaneᚋcoreᚋ return ret } -func (ec *executionContext) marshalNNote2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNote(ctx context.Context, sel ast.SelectionSet, v generated.Note) graphql.Marshaler { - return ec._Note(ctx, sel, &v) -} - func (ec *executionContext) marshalNNote2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNote(ctx context.Context, sel ast.SelectionSet, v *generated.Note) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460822,10 +460490,6 @@ func (ec *executionContext) marshalNNote2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋ return ec._Note(ctx, sel, v) } -func (ec *executionContext) marshalNNoteConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNoteConnection(ctx context.Context, sel ast.SelectionSet, v generated.NoteConnection) graphql.Marshaler { - return ec._NoteConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNNoteConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNoteConnection(ctx context.Context, sel ast.SelectionSet, v *generated.NoteConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460862,10 +460526,6 @@ func (ec *executionContext) unmarshalNNoteWhereInput2ᚖgithubᚗcomᚋtheopenla return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNNotification2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotification(ctx context.Context, sel ast.SelectionSet, v generated.Notification) graphql.Marshaler { - return ec._Notification(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotification2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotification(ctx context.Context, sel ast.SelectionSet, v *generated.Notification) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460912,10 +460572,6 @@ func (ec *executionContext) marshalNNotificationOrderField2ᚖgithubᚗcomᚋthe return v } -func (ec *executionContext) marshalNNotificationPreference2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotificationPreference(ctx context.Context, sel ast.SelectionSet, v generated.NotificationPreference) graphql.Marshaler { - return ec._NotificationPreference(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreference2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotificationPreference(ctx context.Context, sel ast.SelectionSet, v *generated.NotificationPreference) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -460936,10 +460592,6 @@ func (ec *executionContext) marshalNNotificationPreferenceChannel2githubᚗcom return v } -func (ec *executionContext) marshalNNotificationPreferenceConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotificationPreferenceConnection(ctx context.Context, sel ast.SelectionSet, v generated.NotificationPreferenceConnection) graphql.Marshaler { - return ec._NotificationPreferenceConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreferenceConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotificationPreferenceConnection(ctx context.Context, sel ast.SelectionSet, v *generated.NotificationPreferenceConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461006,10 +460658,6 @@ func (ec *executionContext) unmarshalNNotificationPreferenceWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNNotificationTemplate2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotificationTemplate(ctx context.Context, sel ast.SelectionSet, v generated.NotificationTemplate) graphql.Marshaler { - return ec._NotificationTemplate(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplate2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotificationTemplate(ctx context.Context, sel ast.SelectionSet, v *generated.NotificationTemplate) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461030,10 +460678,6 @@ func (ec *executionContext) marshalNNotificationTemplateChannel2githubᚗcomᚋt return v } -func (ec *executionContext) marshalNNotificationTemplateConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotificationTemplateConnection(ctx context.Context, sel ast.SelectionSet, v generated.NotificationTemplateConnection) graphql.Marshaler { - return ec._NotificationTemplateConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplateConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐNotificationTemplateConnection(ctx context.Context, sel ast.SelectionSet, v *generated.NotificationTemplateConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461115,10 +460759,6 @@ func (ec *executionContext) marshalNOrderDirection2entgoᚗioᚋcontribᚋentgql return v } -func (ec *executionContext) marshalNOrgMembership2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrgMembership(ctx context.Context, sel ast.SelectionSet, v generated.OrgMembership) graphql.Marshaler { - return ec._OrgMembership(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembership2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrgMembership(ctx context.Context, sel ast.SelectionSet, v *generated.OrgMembership) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461129,10 +460769,6 @@ func (ec *executionContext) marshalNOrgMembership2ᚖgithubᚗcomᚋtheopenlane return ec._OrgMembership(ctx, sel, v) } -func (ec *executionContext) marshalNOrgMembershipConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrgMembershipConnection(ctx context.Context, sel ast.SelectionSet, v generated.OrgMembershipConnection) graphql.Marshaler { - return ec._OrgMembershipConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembershipConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrgMembershipConnection(ctx context.Context, sel ast.SelectionSet, v *generated.OrgMembershipConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461179,10 +460815,6 @@ func (ec *executionContext) unmarshalNOrgMembershipWhereInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNOrgSubscription2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrgSubscription(ctx context.Context, sel ast.SelectionSet, v generated.OrgSubscription) graphql.Marshaler { - return ec._OrgSubscription(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgSubscription2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrgSubscription(ctx context.Context, sel ast.SelectionSet, v *generated.OrgSubscription) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461193,10 +460825,6 @@ func (ec *executionContext) marshalNOrgSubscription2ᚖgithubᚗcomᚋtheopenlan return ec._OrgSubscription(ctx, sel, v) } -func (ec *executionContext) marshalNOrgSubscriptionConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrgSubscriptionConnection(ctx context.Context, sel ast.SelectionSet, v generated.OrgSubscriptionConnection) graphql.Marshaler { - return ec._OrgSubscriptionConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgSubscriptionConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrgSubscriptionConnection(ctx context.Context, sel ast.SelectionSet, v *generated.OrgSubscriptionConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461228,10 +460856,6 @@ func (ec *executionContext) unmarshalNOrgSubscriptionWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNOrganization2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrganization(ctx context.Context, sel ast.SelectionSet, v generated.Organization) graphql.Marshaler { - return ec._Organization(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganization2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrganization(ctx context.Context, sel ast.SelectionSet, v *generated.Organization) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461242,10 +460866,6 @@ func (ec *executionContext) marshalNOrganization2ᚖgithubᚗcomᚋtheopenlane return ec._Organization(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrganizationConnection(ctx context.Context, sel ast.SelectionSet, v generated.OrganizationConnection) graphql.Marshaler { - return ec._OrganizationConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrganizationConnection(ctx context.Context, sel ast.SelectionSet, v *generated.OrganizationConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461277,10 +460897,6 @@ func (ec *executionContext) marshalNOrganizationOrderField2ᚖgithubᚗcomᚋthe return v } -func (ec *executionContext) marshalNOrganizationSetting2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrganizationSetting(ctx context.Context, sel ast.SelectionSet, v generated.OrganizationSetting) graphql.Marshaler { - return ec._OrganizationSetting(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSetting2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrganizationSetting(ctx context.Context, sel ast.SelectionSet, v *generated.OrganizationSetting) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461291,10 +460907,6 @@ func (ec *executionContext) marshalNOrganizationSetting2ᚖgithubᚗcomᚋtheope return ec._OrganizationSetting(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationSettingConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrganizationSettingConnection(ctx context.Context, sel ast.SelectionSet, v generated.OrganizationSettingConnection) graphql.Marshaler { - return ec._OrganizationSettingConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSettingConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐOrganizationSettingConnection(ctx context.Context, sel ast.SelectionSet, v *generated.OrganizationSettingConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461370,10 +460982,6 @@ func (ec *executionContext) marshalNPageInfo2ᚖentgoᚗioᚋcontribᚋentgqlᚐ return ec._PageInfo(ctx, sel, v) } -func (ec *executionContext) marshalNPersonalAccessToken2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐPersonalAccessToken(ctx context.Context, sel ast.SelectionSet, v generated.PersonalAccessToken) graphql.Marshaler { - return ec._PersonalAccessToken(ctx, sel, &v) -} - func (ec *executionContext) marshalNPersonalAccessToken2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐPersonalAccessToken(ctx context.Context, sel ast.SelectionSet, v *generated.PersonalAccessToken) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461384,10 +460992,6 @@ func (ec *executionContext) marshalNPersonalAccessToken2ᚖgithubᚗcomᚋtheope return ec._PersonalAccessToken(ctx, sel, v) } -func (ec *executionContext) marshalNPersonalAccessTokenConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐPersonalAccessTokenConnection(ctx context.Context, sel ast.SelectionSet, v generated.PersonalAccessTokenConnection) graphql.Marshaler { - return ec._PersonalAccessTokenConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNPersonalAccessTokenConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐPersonalAccessTokenConnection(ctx context.Context, sel ast.SelectionSet, v *generated.PersonalAccessTokenConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461424,10 +461028,6 @@ func (ec *executionContext) unmarshalNPersonalAccessTokenWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNPlatform2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐPlatform(ctx context.Context, sel ast.SelectionSet, v generated.Platform) graphql.Marshaler { - return ec._Platform(ctx, sel, &v) -} - func (ec *executionContext) marshalNPlatform2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐPlatform(ctx context.Context, sel ast.SelectionSet, v *generated.Platform) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461438,10 +461038,6 @@ func (ec *executionContext) marshalNPlatform2ᚖgithubᚗcomᚋtheopenlaneᚋcor return ec._Platform(ctx, sel, v) } -func (ec *executionContext) marshalNPlatformConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐPlatformConnection(ctx context.Context, sel ast.SelectionSet, v generated.PlatformConnection) graphql.Marshaler { - return ec._PlatformConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNPlatformConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐPlatformConnection(ctx context.Context, sel ast.SelectionSet, v *generated.PlatformConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461498,10 +461094,6 @@ func (ec *executionContext) unmarshalNPlatformWhereInput2ᚖgithubᚗcomᚋtheop return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNProcedure2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProcedure(ctx context.Context, sel ast.SelectionSet, v generated.Procedure) graphql.Marshaler { - return ec._Procedure(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedure2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProcedure(ctx context.Context, sel ast.SelectionSet, v *generated.Procedure) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461512,10 +461104,6 @@ func (ec *executionContext) marshalNProcedure2ᚖgithubᚗcomᚋtheopenlaneᚋco return ec._Procedure(ctx, sel, v) } -func (ec *executionContext) marshalNProcedureConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProcedureConnection(ctx context.Context, sel ast.SelectionSet, v generated.ProcedureConnection) graphql.Marshaler { - return ec._ProcedureConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedureConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProcedureConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ProcedureConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461582,10 +461170,6 @@ func (ec *executionContext) unmarshalNProcedureWhereInput2ᚖgithubᚗcomᚋtheo return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNProgram2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProgram(ctx context.Context, sel ast.SelectionSet, v generated.Program) graphql.Marshaler { - return ec._Program(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgram2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProgram(ctx context.Context, sel ast.SelectionSet, v *generated.Program) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461596,10 +461180,6 @@ func (ec *executionContext) marshalNProgram2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Program(ctx, sel, v) } -func (ec *executionContext) marshalNProgramConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProgramConnection(ctx context.Context, sel ast.SelectionSet, v generated.ProgramConnection) graphql.Marshaler { - return ec._ProgramConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProgramConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ProgramConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461610,10 +461190,6 @@ func (ec *executionContext) marshalNProgramConnection2ᚖgithubᚗcomᚋtheopenl return ec._ProgramConnection(ctx, sel, v) } -func (ec *executionContext) marshalNProgramMembership2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProgramMembership(ctx context.Context, sel ast.SelectionSet, v generated.ProgramMembership) graphql.Marshaler { - return ec._ProgramMembership(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembership2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProgramMembership(ctx context.Context, sel ast.SelectionSet, v *generated.ProgramMembership) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461624,10 +461200,6 @@ func (ec *executionContext) marshalNProgramMembership2ᚖgithubᚗcomᚋtheopenl return ec._ProgramMembership(ctx, sel, v) } -func (ec *executionContext) marshalNProgramMembershipConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProgramMembershipConnection(ctx context.Context, sel ast.SelectionSet, v generated.ProgramMembershipConnection) graphql.Marshaler { - return ec._ProgramMembershipConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembershipConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐProgramMembershipConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ProgramMembershipConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461710,10 +461282,6 @@ func (ec *executionContext) unmarshalNProgramWhereInput2ᚖgithubᚗcomᚋtheope return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNRemediation2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐRemediation(ctx context.Context, sel ast.SelectionSet, v generated.Remediation) graphql.Marshaler { - return ec._Remediation(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediation2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐRemediation(ctx context.Context, sel ast.SelectionSet, v *generated.Remediation) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461724,10 +461292,6 @@ func (ec *executionContext) marshalNRemediation2ᚖgithubᚗcomᚋtheopenlaneᚋ return ec._Remediation(ctx, sel, v) } -func (ec *executionContext) marshalNRemediationConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐRemediationConnection(ctx context.Context, sel ast.SelectionSet, v generated.RemediationConnection) graphql.Marshaler { - return ec._RemediationConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediationConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐRemediationConnection(ctx context.Context, sel ast.SelectionSet, v *generated.RemediationConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461774,10 +461338,6 @@ func (ec *executionContext) unmarshalNRemediationWhereInput2ᚖgithubᚗcomᚋth return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNReview2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐReview(ctx context.Context, sel ast.SelectionSet, v generated.Review) graphql.Marshaler { - return ec._Review(ctx, sel, &v) -} - func (ec *executionContext) marshalNReview2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐReview(ctx context.Context, sel ast.SelectionSet, v *generated.Review) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461788,10 +461348,6 @@ func (ec *executionContext) marshalNReview2ᚖgithubᚗcomᚋtheopenlaneᚋcore return ec._Review(ctx, sel, v) } -func (ec *executionContext) marshalNReviewConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐReviewConnection(ctx context.Context, sel ast.SelectionSet, v generated.ReviewConnection) graphql.Marshaler { - return ec._ReviewConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNReviewConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐReviewConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ReviewConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461838,10 +461394,6 @@ func (ec *executionContext) unmarshalNReviewWhereInput2ᚖgithubᚗcomᚋtheopen return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNRisk2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐRisk(ctx context.Context, sel ast.SelectionSet, v generated.Risk) graphql.Marshaler { - return ec._Risk(ctx, sel, &v) -} - func (ec *executionContext) marshalNRisk2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐRisk(ctx context.Context, sel ast.SelectionSet, v *generated.Risk) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461852,10 +461404,6 @@ func (ec *executionContext) marshalNRisk2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋ return ec._Risk(ctx, sel, v) } -func (ec *executionContext) marshalNRiskConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐRiskConnection(ctx context.Context, sel ast.SelectionSet, v generated.RiskConnection) graphql.Marshaler { - return ec._RiskConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNRiskConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐRiskConnection(ctx context.Context, sel ast.SelectionSet, v *generated.RiskConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461942,10 +461490,6 @@ func (ec *executionContext) unmarshalNRiskWhereInput2ᚖgithubᚗcomᚋtheopenla return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSLADefinition2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSLADefinition(ctx context.Context, sel ast.SelectionSet, v generated.SLADefinition) graphql.Marshaler { - return ec._SLADefinition(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinition2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSLADefinition(ctx context.Context, sel ast.SelectionSet, v *generated.SLADefinition) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -461956,10 +461500,6 @@ func (ec *executionContext) marshalNSLADefinition2ᚖgithubᚗcomᚋtheopenlane return ec._SLADefinition(ctx, sel, v) } -func (ec *executionContext) marshalNSLADefinitionConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSLADefinitionConnection(ctx context.Context, sel ast.SelectionSet, v generated.SLADefinitionConnection) graphql.Marshaler { - return ec._SLADefinitionConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinitionConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSLADefinitionConnection(ctx context.Context, sel ast.SelectionSet, v *generated.SLADefinitionConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462006,10 +461546,6 @@ func (ec *executionContext) unmarshalNSLADefinitionWhereInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNScan2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐScan(ctx context.Context, sel ast.SelectionSet, v generated.Scan) graphql.Marshaler { - return ec._Scan(ctx, sel, &v) -} - func (ec *executionContext) marshalNScan2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐScan(ctx context.Context, sel ast.SelectionSet, v *generated.Scan) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462020,10 +461556,6 @@ func (ec *executionContext) marshalNScan2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋ return ec._Scan(ctx, sel, v) } -func (ec *executionContext) marshalNScanConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐScanConnection(ctx context.Context, sel ast.SelectionSet, v generated.ScanConnection) graphql.Marshaler { - return ec._ScanConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNScanConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐScanConnection(ctx context.Context, sel ast.SelectionSet, v *generated.ScanConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462080,10 +461612,6 @@ func (ec *executionContext) unmarshalNScanWhereInput2ᚖgithubᚗcomᚋtheopenla return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNStandard2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐStandard(ctx context.Context, sel ast.SelectionSet, v generated.Standard) graphql.Marshaler { - return ec._Standard(ctx, sel, &v) -} - func (ec *executionContext) marshalNStandard2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐStandard(ctx context.Context, sel ast.SelectionSet, v *generated.Standard) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462094,10 +461622,6 @@ func (ec *executionContext) marshalNStandard2ᚖgithubᚗcomᚋtheopenlaneᚋcor return ec._Standard(ctx, sel, v) } -func (ec *executionContext) marshalNStandardConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐStandardConnection(ctx context.Context, sel ast.SelectionSet, v generated.StandardConnection) graphql.Marshaler { - return ec._StandardConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNStandardConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐStandardConnection(ctx context.Context, sel ast.SelectionSet, v *generated.StandardConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462144,10 +461668,6 @@ func (ec *executionContext) unmarshalNStandardWhereInput2ᚖgithubᚗcomᚋtheop return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSubcontrol2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubcontrol(ctx context.Context, sel ast.SelectionSet, v generated.Subcontrol) graphql.Marshaler { - return ec._Subcontrol(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrol2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubcontrol(ctx context.Context, sel ast.SelectionSet, v *generated.Subcontrol) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462158,10 +461678,6 @@ func (ec *executionContext) marshalNSubcontrol2ᚖgithubᚗcomᚋtheopenlaneᚋc return ec._Subcontrol(ctx, sel, v) } -func (ec *executionContext) marshalNSubcontrolConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubcontrolConnection(ctx context.Context, sel ast.SelectionSet, v generated.SubcontrolConnection) graphql.Marshaler { - return ec._SubcontrolConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrolConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubcontrolConnection(ctx context.Context, sel ast.SelectionSet, v *generated.SubcontrolConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462228,10 +461744,6 @@ func (ec *executionContext) unmarshalNSubcontrolWhereInput2ᚖgithubᚗcomᚋthe return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSubprocessor2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubprocessor(ctx context.Context, sel ast.SelectionSet, v generated.Subprocessor) graphql.Marshaler { - return ec._Subprocessor(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessor2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubprocessor(ctx context.Context, sel ast.SelectionSet, v *generated.Subprocessor) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462242,10 +461754,6 @@ func (ec *executionContext) marshalNSubprocessor2ᚖgithubᚗcomᚋtheopenlane return ec._Subprocessor(ctx, sel, v) } -func (ec *executionContext) marshalNSubprocessorConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubprocessorConnection(ctx context.Context, sel ast.SelectionSet, v generated.SubprocessorConnection) graphql.Marshaler { - return ec._SubprocessorConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessorConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubprocessorConnection(ctx context.Context, sel ast.SelectionSet, v *generated.SubprocessorConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462282,10 +461790,6 @@ func (ec *executionContext) unmarshalNSubprocessorWhereInput2ᚖgithubᚗcomᚋt return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSubscriber2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubscriber(ctx context.Context, sel ast.SelectionSet, v generated.Subscriber) graphql.Marshaler { - return ec._Subscriber(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubscriber2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubscriber(ctx context.Context, sel ast.SelectionSet, v *generated.Subscriber) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462296,10 +461800,6 @@ func (ec *executionContext) marshalNSubscriber2ᚖgithubᚗcomᚋtheopenlaneᚋc return ec._Subscriber(ctx, sel, v) } -func (ec *executionContext) marshalNSubscriberConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubscriberConnection(ctx context.Context, sel ast.SelectionSet, v generated.SubscriberConnection) graphql.Marshaler { - return ec._SubscriberConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubscriberConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSubscriberConnection(ctx context.Context, sel ast.SelectionSet, v *generated.SubscriberConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462336,10 +461836,6 @@ func (ec *executionContext) unmarshalNSubscriberWhereInput2ᚖgithubᚗcomᚋthe return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSystemDetail2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSystemDetail(ctx context.Context, sel ast.SelectionSet, v generated.SystemDetail) graphql.Marshaler { - return ec._SystemDetail(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetail2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSystemDetail(ctx context.Context, sel ast.SelectionSet, v *generated.SystemDetail) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462350,10 +461846,6 @@ func (ec *executionContext) marshalNSystemDetail2ᚖgithubᚗcomᚋtheopenlane return ec._SystemDetail(ctx, sel, v) } -func (ec *executionContext) marshalNSystemDetailConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSystemDetailConnection(ctx context.Context, sel ast.SelectionSet, v generated.SystemDetailConnection) graphql.Marshaler { - return ec._SystemDetailConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetailConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐSystemDetailConnection(ctx context.Context, sel ast.SelectionSet, v *generated.SystemDetailConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462400,10 +461892,6 @@ func (ec *executionContext) unmarshalNSystemDetailWhereInput2ᚖgithubᚗcomᚋt return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTFASetting2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTFASetting(ctx context.Context, sel ast.SelectionSet, v generated.TFASetting) graphql.Marshaler { - return ec._TFASetting(ctx, sel, &v) -} - func (ec *executionContext) marshalNTFASetting2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTFASetting(ctx context.Context, sel ast.SelectionSet, v *generated.TFASetting) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462414,10 +461902,6 @@ func (ec *executionContext) marshalNTFASetting2ᚖgithubᚗcomᚋtheopenlaneᚋc return ec._TFASetting(ctx, sel, v) } -func (ec *executionContext) marshalNTFASettingConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTFASettingConnection(ctx context.Context, sel ast.SelectionSet, v generated.TFASettingConnection) graphql.Marshaler { - return ec._TFASettingConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTFASettingConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTFASettingConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TFASettingConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462454,10 +461938,6 @@ func (ec *executionContext) unmarshalNTFASettingWhereInput2ᚖgithubᚗcomᚋthe return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTagDefinition2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTagDefinition(ctx context.Context, sel ast.SelectionSet, v generated.TagDefinition) graphql.Marshaler { - return ec._TagDefinition(ctx, sel, &v) -} - func (ec *executionContext) marshalNTagDefinition2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTagDefinition(ctx context.Context, sel ast.SelectionSet, v *generated.TagDefinition) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462468,10 +461948,6 @@ func (ec *executionContext) marshalNTagDefinition2ᚖgithubᚗcomᚋtheopenlane return ec._TagDefinition(ctx, sel, v) } -func (ec *executionContext) marshalNTagDefinitionConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTagDefinitionConnection(ctx context.Context, sel ast.SelectionSet, v generated.TagDefinitionConnection) graphql.Marshaler { - return ec._TagDefinitionConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTagDefinitionConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTagDefinitionConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TagDefinitionConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462508,10 +461984,6 @@ func (ec *executionContext) unmarshalNTagDefinitionWhereInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTask2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTask(ctx context.Context, sel ast.SelectionSet, v generated.Task) graphql.Marshaler { - return ec._Task(ctx, sel, &v) -} - func (ec *executionContext) marshalNTask2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTask(ctx context.Context, sel ast.SelectionSet, v *generated.Task) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462522,10 +461994,6 @@ func (ec *executionContext) marshalNTask2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋ return ec._Task(ctx, sel, v) } -func (ec *executionContext) marshalNTaskConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTaskConnection(ctx context.Context, sel ast.SelectionSet, v generated.TaskConnection) graphql.Marshaler { - return ec._TaskConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTaskConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTaskConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TaskConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462572,10 +462040,6 @@ func (ec *executionContext) unmarshalNTaskWhereInput2ᚖgithubᚗcomᚋtheopenla return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTemplate2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTemplate(ctx context.Context, sel ast.SelectionSet, v generated.Template) graphql.Marshaler { - return ec._Template(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplate2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTemplate(ctx context.Context, sel ast.SelectionSet, v *generated.Template) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462586,10 +462050,6 @@ func (ec *executionContext) marshalNTemplate2ᚖgithubᚗcomᚋtheopenlaneᚋcor return ec._Template(ctx, sel, v) } -func (ec *executionContext) marshalNTemplateConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTemplateConnection(ctx context.Context, sel ast.SelectionSet, v generated.TemplateConnection) graphql.Marshaler { - return ec._TemplateConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplateConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTemplateConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TemplateConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462662,10 +462122,6 @@ func (ec *executionContext) marshalNTime2timeᚐTime(ctx context.Context, sel as return res } -func (ec *executionContext) marshalNTrustCenter2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenter(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenter) graphql.Marshaler { - return ec._TrustCenter(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenter2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenter(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenter) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462676,10 +462132,6 @@ func (ec *executionContext) marshalNTrustCenter2ᚖgithubᚗcomᚋtheopenlaneᚋ return ec._TrustCenter(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterCompliance2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterCompliance(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterCompliance) graphql.Marshaler { - return ec._TrustCenterCompliance(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterCompliance2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterCompliance(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterCompliance) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462690,10 +462142,6 @@ func (ec *executionContext) marshalNTrustCenterCompliance2ᚖgithubᚗcomᚋtheo return ec._TrustCenterCompliance(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterComplianceConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterComplianceConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterComplianceConnection) graphql.Marshaler { - return ec._TrustCenterComplianceConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterComplianceConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterComplianceConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterComplianceConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462730,10 +462178,6 @@ func (ec *executionContext) unmarshalNTrustCenterComplianceWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterConnection) graphql.Marshaler { - return ec._TrustCenterConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462744,10 +462188,6 @@ func (ec *executionContext) marshalNTrustCenterConnection2ᚖgithubᚗcomᚋtheo return ec._TrustCenterConnection(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterDoc2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterDoc(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterDoc) graphql.Marshaler { - return ec._TrustCenterDoc(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDoc2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterDoc(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterDoc) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462758,10 +462198,6 @@ func (ec *executionContext) marshalNTrustCenterDoc2ᚖgithubᚗcomᚋtheopenlane return ec._TrustCenterDoc(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterDocConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterDocConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterDocConnection) graphql.Marshaler { - return ec._TrustCenterDocConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDocConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterDocConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterDocConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462818,10 +462254,6 @@ func (ec *executionContext) unmarshalNTrustCenterDocWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterEntity2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterEntity(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterEntity) graphql.Marshaler { - return ec._TrustCenterEntity(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterEntity2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterEntity(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterEntity) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462832,10 +462264,6 @@ func (ec *executionContext) marshalNTrustCenterEntity2ᚖgithubᚗcomᚋtheopenl return ec._TrustCenterEntity(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterEntityConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterEntityConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterEntityConnection) graphql.Marshaler { - return ec._TrustCenterEntityConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterEntityConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterEntityConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterEntityConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462872,10 +462300,6 @@ func (ec *executionContext) unmarshalNTrustCenterEntityWhereInput2ᚖgithubᚗco return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterFAQ2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterFAQ(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterFAQ) graphql.Marshaler { - return ec._TrustCenterFAQ(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQ2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterFAQ(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterFAQ) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462886,10 +462310,6 @@ func (ec *executionContext) marshalNTrustCenterFAQ2ᚖgithubᚗcomᚋtheopenlane return ec._TrustCenterFAQ(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterFAQConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterFAQConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterFAQConnection) graphql.Marshaler { - return ec._TrustCenterFAQConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterFAQConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterFAQConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462926,10 +462346,6 @@ func (ec *executionContext) unmarshalNTrustCenterFAQWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterNDARequest2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterNDARequest(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterNDARequest) graphql.Marshaler { - return ec._TrustCenterNDARequest(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDARequest2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterNDARequest(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterNDARequest) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -462940,10 +462356,6 @@ func (ec *executionContext) marshalNTrustCenterNDARequest2ᚖgithubᚗcomᚋtheo return ec._TrustCenterNDARequest(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterNDARequestConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterNDARequestConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterNDARequestConnection) graphql.Marshaler { - return ec._TrustCenterNDARequestConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDARequestConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterNDARequestConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterNDARequestConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463021,10 +462433,6 @@ func (ec *executionContext) marshalNTrustCenterOrderField2ᚖgithubᚗcomᚋtheo return v } -func (ec *executionContext) marshalNTrustCenterSetting2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterSetting(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterSetting) graphql.Marshaler { - return ec._TrustCenterSetting(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSetting2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterSetting(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterSetting) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463035,10 +462443,6 @@ func (ec *executionContext) marshalNTrustCenterSetting2ᚖgithubᚗcomᚋtheopen return ec._TrustCenterSetting(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSettingConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterSettingConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterSettingConnection) graphql.Marshaler { - return ec._TrustCenterSettingConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSettingConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterSettingConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterSettingConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463095,10 +462499,6 @@ func (ec *executionContext) unmarshalNTrustCenterSettingWhereInput2ᚖgithubᚗc return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterSubprocessor2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterSubprocessor(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterSubprocessor) graphql.Marshaler { - return ec._TrustCenterSubprocessor(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessor2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterSubprocessor(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterSubprocessor) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463109,10 +462509,6 @@ func (ec *executionContext) marshalNTrustCenterSubprocessor2ᚖgithubᚗcomᚋth return ec._TrustCenterSubprocessor(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSubprocessorConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterSubprocessorConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterSubprocessorConnection) graphql.Marshaler { - return ec._TrustCenterSubprocessorConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessorConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterSubprocessorConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterSubprocessorConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463159,10 +462555,6 @@ func (ec *executionContext) marshalNTrustCenterTrustCenterPreviewStatus2github return v } -func (ec *executionContext) marshalNTrustCenterWatermarkConfig2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterWatermarkConfig(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterWatermarkConfig) graphql.Marshaler { - return ec._TrustCenterWatermarkConfig(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterWatermarkConfig2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterWatermarkConfig(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterWatermarkConfig) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463173,10 +462565,6 @@ func (ec *executionContext) marshalNTrustCenterWatermarkConfig2ᚖgithubᚗcom return ec._TrustCenterWatermarkConfig(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterWatermarkConfigConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterWatermarkConfigConnection(ctx context.Context, sel ast.SelectionSet, v generated.TrustCenterWatermarkConfigConnection) graphql.Marshaler { - return ec._TrustCenterWatermarkConfigConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterWatermarkConfigConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐTrustCenterWatermarkConfigConnection(ctx context.Context, sel ast.SelectionSet, v *generated.TrustCenterWatermarkConfigConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463628,10 +463016,6 @@ func (ec *executionContext) unmarshalNUpdateWorkflowDefinitionInput2githubᚗcom return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNUser2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐUser(ctx context.Context, sel ast.SelectionSet, v generated.User) graphql.Marshaler { - return ec._User(ctx, sel, &v) -} - func (ec *executionContext) marshalNUser2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐUser(ctx context.Context, sel ast.SelectionSet, v *generated.User) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463652,10 +463036,6 @@ func (ec *executionContext) marshalNUserAuthProvider2githubᚗcomᚋtheopenlane return v } -func (ec *executionContext) marshalNUserConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐUserConnection(ctx context.Context, sel ast.SelectionSet, v generated.UserConnection) graphql.Marshaler { - return ec._UserConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐUserConnection(ctx context.Context, sel ast.SelectionSet, v *generated.UserConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463697,10 +463077,6 @@ func (ec *executionContext) marshalNUserRole2githubᚗcomᚋtheopenlaneᚋcore return v } -func (ec *executionContext) marshalNUserSetting2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐUserSetting(ctx context.Context, sel ast.SelectionSet, v generated.UserSetting) graphql.Marshaler { - return ec._UserSetting(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserSetting2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐUserSetting(ctx context.Context, sel ast.SelectionSet, v *generated.UserSetting) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463711,10 +463087,6 @@ func (ec *executionContext) marshalNUserSetting2ᚖgithubᚗcomᚋtheopenlaneᚋ return ec._UserSetting(ctx, sel, v) } -func (ec *executionContext) marshalNUserSettingConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐUserSettingConnection(ctx context.Context, sel ast.SelectionSet, v generated.UserSettingConnection) graphql.Marshaler { - return ec._UserSettingConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserSettingConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐUserSettingConnection(ctx context.Context, sel ast.SelectionSet, v *generated.UserSettingConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463766,10 +463138,6 @@ func (ec *executionContext) unmarshalNUserWhereInput2ᚖgithubᚗcomᚋtheopenla return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNVendorRiskScore2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVendorRiskScore(ctx context.Context, sel ast.SelectionSet, v generated.VendorRiskScore) graphql.Marshaler { - return ec._VendorRiskScore(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScore2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVendorRiskScore(ctx context.Context, sel ast.SelectionSet, v *generated.VendorRiskScore) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463780,10 +463148,6 @@ func (ec *executionContext) marshalNVendorRiskScore2ᚖgithubᚗcomᚋtheopenlan return ec._VendorRiskScore(ctx, sel, v) } -func (ec *executionContext) marshalNVendorRiskScoreConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVendorRiskScoreConnection(ctx context.Context, sel ast.SelectionSet, v generated.VendorRiskScoreConnection) graphql.Marshaler { - return ec._VendorRiskScoreConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScoreConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVendorRiskScoreConnection(ctx context.Context, sel ast.SelectionSet, v *generated.VendorRiskScoreConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463860,10 +463224,6 @@ func (ec *executionContext) unmarshalNVendorRiskScoreWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNVendorScoringConfig2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVendorScoringConfig(ctx context.Context, sel ast.SelectionSet, v generated.VendorScoringConfig) graphql.Marshaler { - return ec._VendorScoringConfig(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfig2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVendorScoringConfig(ctx context.Context, sel ast.SelectionSet, v *generated.VendorScoringConfig) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463874,10 +463234,6 @@ func (ec *executionContext) marshalNVendorScoringConfig2ᚖgithubᚗcomᚋtheope return ec._VendorScoringConfig(ctx, sel, v) } -func (ec *executionContext) marshalNVendorScoringConfigConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVendorScoringConfigConnection(ctx context.Context, sel ast.SelectionSet, v generated.VendorScoringConfigConnection) graphql.Marshaler { - return ec._VendorScoringConfigConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfigConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVendorScoringConfigConnection(ctx context.Context, sel ast.SelectionSet, v *generated.VendorScoringConfigConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463924,10 +463280,6 @@ func (ec *executionContext) unmarshalNVendorScoringConfigWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNVulnerability2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVulnerability(ctx context.Context, sel ast.SelectionSet, v generated.Vulnerability) graphql.Marshaler { - return ec._Vulnerability(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerability2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVulnerability(ctx context.Context, sel ast.SelectionSet, v *generated.Vulnerability) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463938,10 +463290,6 @@ func (ec *executionContext) marshalNVulnerability2ᚖgithubᚗcomᚋtheopenlane return ec._Vulnerability(ctx, sel, v) } -func (ec *executionContext) marshalNVulnerabilityConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVulnerabilityConnection(ctx context.Context, sel ast.SelectionSet, v generated.VulnerabilityConnection) graphql.Marshaler { - return ec._VulnerabilityConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐVulnerabilityConnection(ctx context.Context, sel ast.SelectionSet, v *generated.VulnerabilityConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -463988,10 +463336,6 @@ func (ec *executionContext) unmarshalNVulnerabilityWhereInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNWebauthnConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWebauthnConnection(ctx context.Context, sel ast.SelectionSet, v generated.WebauthnConnection) graphql.Marshaler { - return ec._WebauthnConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWebauthnConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWebauthnConnection(ctx context.Context, sel ast.SelectionSet, v *generated.WebauthnConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464023,10 +463367,6 @@ func (ec *executionContext) unmarshalNWebauthnWhereInput2ᚖgithubᚗcomᚋtheop return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNWorkflowAssignment2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowAssignment(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowAssignment) graphql.Marshaler { - return ec._WorkflowAssignment(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignment2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowAssignment(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowAssignment) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464037,10 +463377,6 @@ func (ec *executionContext) marshalNWorkflowAssignment2ᚖgithubᚗcomᚋtheopen return ec._WorkflowAssignment(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowAssignmentConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowAssignmentConnection(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowAssignmentConnection) graphql.Marshaler { - return ec._WorkflowAssignmentConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignmentConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowAssignmentConnection(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowAssignmentConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464072,10 +463408,6 @@ func (ec *executionContext) marshalNWorkflowAssignmentOrderField2ᚖgithubᚗcom return v } -func (ec *executionContext) marshalNWorkflowAssignmentTarget2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowAssignmentTarget(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowAssignmentTarget) graphql.Marshaler { - return ec._WorkflowAssignmentTarget(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignmentTarget2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowAssignmentTarget(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowAssignmentTarget) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464086,10 +463418,6 @@ func (ec *executionContext) marshalNWorkflowAssignmentTarget2ᚖgithubᚗcomᚋt return ec._WorkflowAssignmentTarget(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowAssignmentTargetConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowAssignmentTargetConnection(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowAssignmentTargetConnection) graphql.Marshaler { - return ec._WorkflowAssignmentTargetConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignmentTargetConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowAssignmentTargetConnection(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowAssignmentTargetConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464151,10 +463479,6 @@ func (ec *executionContext) marshalNWorkflowAssignmentWorkflowAssignmentStatus2g return v } -func (ec *executionContext) marshalNWorkflowDefinition2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowDefinition(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowDefinition) graphql.Marshaler { - return ec._WorkflowDefinition(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowDefinition2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowDefinition(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowDefinition) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464165,10 +463489,6 @@ func (ec *executionContext) marshalNWorkflowDefinition2ᚖgithubᚗcomᚋtheopen return ec._WorkflowDefinition(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowDefinitionConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowDefinitionConnection(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowDefinitionConnection) graphql.Marshaler { - return ec._WorkflowDefinitionConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowDefinitionConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowDefinitionConnection(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowDefinitionConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464215,10 +463535,6 @@ func (ec *executionContext) marshalNWorkflowDefinitionWorkflowKind2githubᚗcom return v } -func (ec *executionContext) marshalNWorkflowEvent2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowEvent(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowEvent) graphql.Marshaler { - return ec._WorkflowEvent(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowEvent2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowEvent(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowEvent) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464229,10 +463545,6 @@ func (ec *executionContext) marshalNWorkflowEvent2ᚖgithubᚗcomᚋtheopenlane return ec._WorkflowEvent(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowEventConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowEventConnection(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowEventConnection) graphql.Marshaler { - return ec._WorkflowEventConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowEventConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowEventConnection(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowEventConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464279,10 +463591,6 @@ func (ec *executionContext) marshalNWorkflowEventWorkflowEventType2githubᚗcom return v } -func (ec *executionContext) marshalNWorkflowInstance2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowInstance(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowInstance) graphql.Marshaler { - return ec._WorkflowInstance(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowInstance2ᚕᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowInstanceᚄ(ctx context.Context, sel ast.SelectionSet, v []*generated.WorkflowInstance) graphql.Marshaler { ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { fc := graphql.GetFieldContext(ctx) @@ -464309,10 +463617,6 @@ func (ec *executionContext) marshalNWorkflowInstance2ᚖgithubᚗcomᚋtheopenla return ec._WorkflowInstance(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowInstanceConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowInstanceConnection(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowInstanceConnection) graphql.Marshaler { - return ec._WorkflowInstanceConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowInstanceConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowInstanceConnection(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowInstanceConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464359,10 +463663,6 @@ func (ec *executionContext) marshalNWorkflowInstanceWorkflowInstanceState2github return v } -func (ec *executionContext) marshalNWorkflowObjectRef2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowObjectRef(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowObjectRef) graphql.Marshaler { - return ec._WorkflowObjectRef(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowObjectRef2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowObjectRef(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowObjectRef) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464373,10 +463673,6 @@ func (ec *executionContext) marshalNWorkflowObjectRef2ᚖgithubᚗcomᚋtheopenl return ec._WorkflowObjectRef(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowObjectRefConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowObjectRefConnection(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowObjectRefConnection) graphql.Marshaler { - return ec._WorkflowObjectRefConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowObjectRefConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowObjectRefConnection(ctx context.Context, sel ast.SelectionSet, v *generated.WorkflowObjectRefConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -464413,10 +463709,6 @@ func (ec *executionContext) unmarshalNWorkflowObjectRefWhereInput2ᚖgithubᚗco return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNWorkflowProposal2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowProposal(ctx context.Context, sel ast.SelectionSet, v generated.WorkflowProposal) graphql.Marshaler { - return ec._WorkflowProposal(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowProposal2ᚕᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋgeneratedᚐWorkflowProposalᚄ(ctx context.Context, sel ast.SelectionSet, v []*generated.WorkflowProposal) graphql.Marshaler { ret := graphql.MarshalSliceConcurrently(ctx, len(v), 0, false, func(ctx context.Context, i int) graphql.Marshaler { fc := graphql.GetFieldContext(ctx) diff --git a/internal/graphapi/generated/entity.generated.go b/internal/graphapi/generated/entity.generated.go index 7f2d39a8cd..f22970d638 100644 --- a/internal/graphapi/generated/entity.generated.go +++ b/internal/graphapi/generated/entity.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _EntityUpdatePayload(ctx context.Context, sel ast.Se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNEntityBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityBulkCreatePayload) graphql.Marshaler { - return ec._EntityBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNEntityBulkCreatePayload2ᚖgithubᚗcomᚋth return ec._EntityBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityBulkDeletePayload) graphql.Marshaler { - return ec._EntityBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNEntityBulkDeletePayload2ᚖgithubᚗcomᚋth return ec._EntityBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityBulkUpdatePayload) graphql.Marshaler { - return ec._EntityBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNEntityBulkUpdatePayload2ᚖgithubᚗcomᚋth return ec._EntityBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityCreatePayload) graphql.Marshaler { - return ec._EntityCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNEntityCreatePayload2ᚖgithubᚗcomᚋtheope return ec._EntityCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityDeletePayload) graphql.Marshaler { - return ec._EntityDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNEntityDeletePayload2ᚖgithubᚗcomᚋtheope return ec._EntityDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityUpdatePayload) graphql.Marshaler { - return ec._EntityUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/entitytype.generated.go b/internal/graphapi/generated/entitytype.generated.go index 589a346ac9..aeb9f592bd 100644 --- a/internal/graphapi/generated/entitytype.generated.go +++ b/internal/graphapi/generated/entitytype.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _EntityTypeUpdatePayload(ctx context.Context, sel as // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNEntityTypeBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityTypeBulkCreatePayload) graphql.Marshaler { - return ec._EntityTypeBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityTypeBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityTypeBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNEntityTypeBulkCreatePayload2ᚖgithubᚗcom return ec._EntityTypeBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityTypeBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityTypeBulkDeletePayload) graphql.Marshaler { - return ec._EntityTypeBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityTypeBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityTypeBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNEntityTypeBulkDeletePayload2ᚖgithubᚗcom return ec._EntityTypeBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityTypeBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityTypeBulkUpdatePayload) graphql.Marshaler { - return ec._EntityTypeBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityTypeBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityTypeBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNEntityTypeBulkUpdatePayload2ᚖgithubᚗcom return ec._EntityTypeBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityTypeCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityTypeCreatePayload) graphql.Marshaler { - return ec._EntityTypeCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityTypeCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityTypeCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNEntityTypeCreatePayload2ᚖgithubᚗcomᚋth return ec._EntityTypeCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityTypeDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityTypeDeletePayload) graphql.Marshaler { - return ec._EntityTypeDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityTypeDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityTypeDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNEntityTypeDeletePayload2ᚖgithubᚗcomᚋth return ec._EntityTypeDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEntityTypeUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EntityTypeUpdatePayload) graphql.Marshaler { - return ec._EntityTypeUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityTypeUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEntityTypeUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EntityTypeUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/event.generated.go b/internal/graphapi/generated/event.generated.go index 3e7b5e4622..9c4af51865 100644 --- a/internal/graphapi/generated/event.generated.go +++ b/internal/graphapi/generated/event.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _EventUpdatePayload(ctx context.Context, sel ast.Sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNEventBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EventBulkCreatePayload) graphql.Marshaler { - return ec._EventBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEventBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EventBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNEventBulkCreatePayload2ᚖgithubᚗcomᚋthe return ec._EventBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEventBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EventBulkDeletePayload) graphql.Marshaler { - return ec._EventBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEventBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EventBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNEventBulkDeletePayload2ᚖgithubᚗcomᚋthe return ec._EventBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEventBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EventBulkUpdatePayload) graphql.Marshaler { - return ec._EventBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEventBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EventBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNEventBulkUpdatePayload2ᚖgithubᚗcomᚋthe return ec._EventBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEventCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EventCreatePayload) graphql.Marshaler { - return ec._EventCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEventCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EventCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNEventCreatePayload2ᚖgithubᚗcomᚋtheopen return ec._EventCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEventDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EventDeletePayload) graphql.Marshaler { - return ec._EventDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEventDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EventDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNEventDeletePayload2ᚖgithubᚗcomᚋtheopen return ec._EventDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEventUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EventUpdatePayload) graphql.Marshaler { - return ec._EventUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEventUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEventUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EventUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/evidence.generated.go b/internal/graphapi/generated/evidence.generated.go index 1050bc37b4..9eeb5651e6 100644 --- a/internal/graphapi/generated/evidence.generated.go +++ b/internal/graphapi/generated/evidence.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _EvidenceUpdatePayload(ctx context.Context, sel ast. // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNEvidenceBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EvidenceBulkCreatePayload) graphql.Marshaler { - return ec._EvidenceBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidenceBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EvidenceBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNEvidenceBulkCreatePayload2ᚖgithubᚗcomᚋ return ec._EvidenceBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEvidenceBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EvidenceBulkDeletePayload) graphql.Marshaler { - return ec._EvidenceBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidenceBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EvidenceBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNEvidenceBulkDeletePayload2ᚖgithubᚗcomᚋ return ec._EvidenceBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEvidenceBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EvidenceBulkUpdatePayload) graphql.Marshaler { - return ec._EvidenceBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidenceBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EvidenceBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNEvidenceBulkUpdatePayload2ᚖgithubᚗcomᚋ return ec._EvidenceBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEvidenceCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.EvidenceCreatePayload) graphql.Marshaler { - return ec._EvidenceCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidenceCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EvidenceCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNEvidenceCreatePayload2ᚖgithubᚗcomᚋtheo return ec._EvidenceCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEvidenceDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.EvidenceDeletePayload) graphql.Marshaler { - return ec._EvidenceDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidenceDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.EvidenceDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNEvidenceDeletePayload2ᚖgithubᚗcomᚋtheo return ec._EvidenceDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNEvidenceUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.EvidenceUpdatePayload) graphql.Marshaler { - return ec._EvidenceUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidenceUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐEvidenceUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.EvidenceUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/export.generated.go b/internal/graphapi/generated/export.generated.go index 5b1238d89c..8878a1a54f 100644 --- a/internal/graphapi/generated/export.generated.go +++ b/internal/graphapi/generated/export.generated.go @@ -429,10 +429,6 @@ func (ec *executionContext) _ExportUpdatePayload(ctx context.Context, sel ast.Se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNExportBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐExportBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ExportBulkDeletePayload) graphql.Marshaler { - return ec._ExportBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNExportBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐExportBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ExportBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -443,10 +439,6 @@ func (ec *executionContext) marshalNExportBulkDeletePayload2ᚖgithubᚗcomᚋth return ec._ExportBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNExportCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐExportCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ExportCreatePayload) graphql.Marshaler { - return ec._ExportCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNExportCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐExportCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ExportCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457,10 +449,6 @@ func (ec *executionContext) marshalNExportCreatePayload2ᚖgithubᚗcomᚋtheope return ec._ExportCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNExportDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐExportDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ExportDeletePayload) graphql.Marshaler { - return ec._ExportDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNExportDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐExportDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ExportDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -471,10 +459,6 @@ func (ec *executionContext) marshalNExportDeletePayload2ᚖgithubᚗcomᚋtheope return ec._ExportDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNExportUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐExportUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ExportUpdatePayload) graphql.Marshaler { - return ec._ExportUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNExportUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐExportUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ExportUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/file.generated.go b/internal/graphapi/generated/file.generated.go index f791f65a95..41003a47ea 100644 --- a/internal/graphapi/generated/file.generated.go +++ b/internal/graphapi/generated/file.generated.go @@ -101,10 +101,6 @@ func (ec *executionContext) _FileDeletePayload(ctx context.Context, sel ast.Sele // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNFileDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFileDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.FileDeletePayload) graphql.Marshaler { - return ec._FileDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFileDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFileDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.FileDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/finding.generated.go b/internal/graphapi/generated/finding.generated.go index 63fa9069d5..425209934b 100644 --- a/internal/graphapi/generated/finding.generated.go +++ b/internal/graphapi/generated/finding.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _FindingUpdatePayload(ctx context.Context, sel ast.S // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNFindingBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingBulkCreatePayload) graphql.Marshaler { - return ec._FindingBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNFindingBulkCreatePayload2ᚖgithubᚗcomᚋt return ec._FindingBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingBulkDeletePayload) graphql.Marshaler { - return ec._FindingBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNFindingBulkDeletePayload2ᚖgithubᚗcomᚋt return ec._FindingBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingBulkUpdatePayload) graphql.Marshaler { - return ec._FindingBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNFindingBulkUpdatePayload2ᚖgithubᚗcomᚋt return ec._FindingBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingCreatePayload) graphql.Marshaler { - return ec._FindingCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNFindingCreatePayload2ᚖgithubᚗcomᚋtheop return ec._FindingCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingDeletePayload) graphql.Marshaler { - return ec._FindingDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNFindingDeletePayload2ᚖgithubᚗcomᚋtheop return ec._FindingDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingUpdatePayload) graphql.Marshaler { - return ec._FindingUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/findingcontrol.generated.go b/internal/graphapi/generated/findingcontrol.generated.go index ed30aad5ca..522edddf50 100644 --- a/internal/graphapi/generated/findingcontrol.generated.go +++ b/internal/graphapi/generated/findingcontrol.generated.go @@ -429,10 +429,6 @@ func (ec *executionContext) _FindingControlUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNFindingControlBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingControlBulkCreatePayload) graphql.Marshaler { - return ec._FindingControlBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingControlBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingControlBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -443,10 +439,6 @@ func (ec *executionContext) marshalNFindingControlBulkCreatePayload2ᚖgithubᚗ return ec._FindingControlBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingControlBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingControlBulkDeletePayload) graphql.Marshaler { - return ec._FindingControlBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingControlBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingControlBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -457,10 +449,6 @@ func (ec *executionContext) marshalNFindingControlBulkDeletePayload2ᚖgithubᚗ return ec._FindingControlBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingControlCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingControlCreatePayload) graphql.Marshaler { - return ec._FindingControlCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingControlCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingControlCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -471,10 +459,6 @@ func (ec *executionContext) marshalNFindingControlCreatePayload2ᚖgithubᚗcom return ec._FindingControlCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingControlDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingControlDeletePayload) graphql.Marshaler { - return ec._FindingControlDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingControlDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingControlDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -485,10 +469,6 @@ func (ec *executionContext) marshalNFindingControlDeletePayload2ᚖgithubᚗcom return ec._FindingControlDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNFindingControlUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.FindingControlUpdatePayload) graphql.Marshaler { - return ec._FindingControlUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingControlUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐFindingControlUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.FindingControlUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/group.generated.go b/internal/graphapi/generated/group.generated.go index 33938f7de5..d2c781aaba 100644 --- a/internal/graphapi/generated/group.generated.go +++ b/internal/graphapi/generated/group.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _GroupUpdatePayload(ctx context.Context, sel ast.Sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNGroupBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupBulkCreatePayload) graphql.Marshaler { - return ec._GroupBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNGroupBulkCreatePayload2ᚖgithubᚗcomᚋthe return ec._GroupBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupBulkDeletePayload) graphql.Marshaler { - return ec._GroupBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNGroupBulkDeletePayload2ᚖgithubᚗcomᚋthe return ec._GroupBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupBulkUpdatePayload) graphql.Marshaler { - return ec._GroupBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNGroupBulkUpdatePayload2ᚖgithubᚗcomᚋthe return ec._GroupBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupCreatePayload) graphql.Marshaler { - return ec._GroupCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNGroupCreatePayload2ᚖgithubᚗcomᚋtheopen return ec._GroupCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupDeletePayload) graphql.Marshaler { - return ec._GroupDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNGroupDeletePayload2ᚖgithubᚗcomᚋtheopen return ec._GroupDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupUpdatePayload) graphql.Marshaler { - return ec._GroupUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/groupextended.generated.go b/internal/graphapi/generated/groupextended.generated.go index ab5a726037..ad6b716d51 100644 --- a/internal/graphapi/generated/groupextended.generated.go +++ b/internal/graphapi/generated/groupextended.generated.go @@ -876,10 +876,6 @@ func (ec *executionContext) unmarshalNGroupMembersInput2ᚖgithubᚗcomᚋtheope return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNGroupPermissionConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupPermissionConnection(ctx context.Context, sel ast.SelectionSet, v model.GroupPermissionConnection) graphql.Marshaler { - return ec._GroupPermissionConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupPermissionConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupPermissionConnection(ctx context.Context, sel ast.SelectionSet, v *model.GroupPermissionConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/groupmembership.generated.go b/internal/graphapi/generated/groupmembership.generated.go index b47d96307d..28e5da5db2 100644 --- a/internal/graphapi/generated/groupmembership.generated.go +++ b/internal/graphapi/generated/groupmembership.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _GroupMembershipUpdatePayload(ctx context.Context, s // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNGroupMembershipBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupMembershipBulkCreatePayload) graphql.Marshaler { - return ec._GroupMembershipBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembershipBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupMembershipBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNGroupMembershipBulkCreatePayload2ᚖgithub return ec._GroupMembershipBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupMembershipBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupMembershipBulkDeletePayload) graphql.Marshaler { - return ec._GroupMembershipBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembershipBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupMembershipBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNGroupMembershipBulkDeletePayload2ᚖgithub return ec._GroupMembershipBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupMembershipBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupMembershipBulkUpdatePayload) graphql.Marshaler { - return ec._GroupMembershipBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembershipBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupMembershipBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNGroupMembershipBulkUpdatePayload2ᚖgithub return ec._GroupMembershipBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupMembershipCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupMembershipCreatePayload) graphql.Marshaler { - return ec._GroupMembershipCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembershipCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupMembershipCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNGroupMembershipCreatePayload2ᚖgithubᚗcom return ec._GroupMembershipCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupMembershipDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupMembershipDeletePayload) graphql.Marshaler { - return ec._GroupMembershipDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembershipDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupMembershipDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNGroupMembershipDeletePayload2ᚖgithubᚗcom return ec._GroupMembershipDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupMembershipUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupMembershipUpdatePayload) graphql.Marshaler { - return ec._GroupMembershipUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembershipUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupMembershipUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupMembershipUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/groupsetting.generated.go b/internal/graphapi/generated/groupsetting.generated.go index 73f6eb287d..c5e9979a68 100644 --- a/internal/graphapi/generated/groupsetting.generated.go +++ b/internal/graphapi/generated/groupsetting.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _GroupSettingUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNGroupSettingBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupSettingBulkCreatePayload) graphql.Marshaler { - return ec._GroupSettingBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSettingBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupSettingBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNGroupSettingBulkCreatePayload2ᚖgithubᚗco return ec._GroupSettingBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupSettingBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupSettingBulkDeletePayload) graphql.Marshaler { - return ec._GroupSettingBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSettingBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupSettingBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNGroupSettingBulkDeletePayload2ᚖgithubᚗco return ec._GroupSettingBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupSettingBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupSettingBulkUpdatePayload) graphql.Marshaler { - return ec._GroupSettingBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSettingBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupSettingBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNGroupSettingBulkUpdatePayload2ᚖgithubᚗco return ec._GroupSettingBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupSettingCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupSettingCreatePayload) graphql.Marshaler { - return ec._GroupSettingCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSettingCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupSettingCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNGroupSettingCreatePayload2ᚖgithubᚗcomᚋ return ec._GroupSettingCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupSettingDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupSettingDeletePayload) graphql.Marshaler { - return ec._GroupSettingDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSettingDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupSettingDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNGroupSettingDeletePayload2ᚖgithubᚗcomᚋ return ec._GroupSettingDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNGroupSettingUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.GroupSettingUpdatePayload) graphql.Marshaler { - return ec._GroupSettingUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSettingUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐGroupSettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.GroupSettingUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/hush.generated.go b/internal/graphapi/generated/hush.generated.go index 024727b634..4682ca4e40 100644 --- a/internal/graphapi/generated/hush.generated.go +++ b/internal/graphapi/generated/hush.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _HushUpdatePayload(ctx context.Context, sel ast.Sele // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNHushBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.HushBulkCreatePayload) graphql.Marshaler { - return ec._HushBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNHushBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.HushBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNHushBulkCreatePayload2ᚖgithubᚗcomᚋtheo return ec._HushBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNHushBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.HushBulkDeletePayload) graphql.Marshaler { - return ec._HushBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNHushBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.HushBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNHushBulkDeletePayload2ᚖgithubᚗcomᚋtheo return ec._HushBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNHushBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.HushBulkUpdatePayload) graphql.Marshaler { - return ec._HushBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNHushBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.HushBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNHushBulkUpdatePayload2ᚖgithubᚗcomᚋtheo return ec._HushBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNHushCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.HushCreatePayload) graphql.Marshaler { - return ec._HushCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNHushCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.HushCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNHushCreatePayload2ᚖgithubᚗcomᚋtheopenl return ec._HushCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNHushDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.HushDeletePayload) graphql.Marshaler { - return ec._HushDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNHushDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.HushDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNHushDeletePayload2ᚖgithubᚗcomᚋtheopenl return ec._HushDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNHushUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.HushUpdatePayload) graphql.Marshaler { - return ec._HushUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNHushUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐHushUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.HushUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/identityholder.generated.go b/internal/graphapi/generated/identityholder.generated.go index 7201c13142..c9072c98e0 100644 --- a/internal/graphapi/generated/identityholder.generated.go +++ b/internal/graphapi/generated/identityholder.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _IdentityHolderUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNIdentityHolderBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.IdentityHolderBulkCreatePayload) graphql.Marshaler { - return ec._IdentityHolderBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolderBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.IdentityHolderBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNIdentityHolderBulkCreatePayload2ᚖgithubᚗ return ec._IdentityHolderBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNIdentityHolderBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.IdentityHolderBulkDeletePayload) graphql.Marshaler { - return ec._IdentityHolderBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolderBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.IdentityHolderBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNIdentityHolderBulkDeletePayload2ᚖgithubᚗ return ec._IdentityHolderBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNIdentityHolderBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.IdentityHolderBulkUpdatePayload) graphql.Marshaler { - return ec._IdentityHolderBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolderBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.IdentityHolderBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNIdentityHolderBulkUpdatePayload2ᚖgithubᚗ return ec._IdentityHolderBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNIdentityHolderCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.IdentityHolderCreatePayload) graphql.Marshaler { - return ec._IdentityHolderCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolderCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.IdentityHolderCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNIdentityHolderCreatePayload2ᚖgithubᚗcom return ec._IdentityHolderCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNIdentityHolderDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.IdentityHolderDeletePayload) graphql.Marshaler { - return ec._IdentityHolderDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolderDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.IdentityHolderDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNIdentityHolderDeletePayload2ᚖgithubᚗcom return ec._IdentityHolderDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNIdentityHolderUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.IdentityHolderUpdatePayload) graphql.Marshaler { - return ec._IdentityHolderUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolderUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIdentityHolderUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.IdentityHolderUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/integration.generated.go b/internal/graphapi/generated/integration.generated.go index 6b340d4e50..d29ff19cc4 100644 --- a/internal/graphapi/generated/integration.generated.go +++ b/internal/graphapi/generated/integration.generated.go @@ -101,10 +101,6 @@ func (ec *executionContext) _IntegrationDeletePayload(ctx context.Context, sel a // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNIntegrationDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIntegrationDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.IntegrationDeletePayload) graphql.Marshaler { - return ec._IntegrationDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNIntegrationDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐIntegrationDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.IntegrationDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/internalpolicy.generated.go b/internal/graphapi/generated/internalpolicy.generated.go index 0edd9df891..f274e67ca7 100644 --- a/internal/graphapi/generated/internalpolicy.generated.go +++ b/internal/graphapi/generated/internalpolicy.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _InternalPolicyUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNInternalPolicyBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.InternalPolicyBulkCreatePayload) graphql.Marshaler { - return ec._InternalPolicyBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicyBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.InternalPolicyBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNInternalPolicyBulkCreatePayload2ᚖgithubᚗ return ec._InternalPolicyBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInternalPolicyBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.InternalPolicyBulkDeletePayload) graphql.Marshaler { - return ec._InternalPolicyBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicyBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.InternalPolicyBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNInternalPolicyBulkDeletePayload2ᚖgithubᚗ return ec._InternalPolicyBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInternalPolicyBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.InternalPolicyBulkUpdatePayload) graphql.Marshaler { - return ec._InternalPolicyBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicyBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.InternalPolicyBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNInternalPolicyBulkUpdatePayload2ᚖgithubᚗ return ec._InternalPolicyBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInternalPolicyCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.InternalPolicyCreatePayload) graphql.Marshaler { - return ec._InternalPolicyCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicyCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.InternalPolicyCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNInternalPolicyCreatePayload2ᚖgithubᚗcom return ec._InternalPolicyCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInternalPolicyDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.InternalPolicyDeletePayload) graphql.Marshaler { - return ec._InternalPolicyDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicyDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.InternalPolicyDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNInternalPolicyDeletePayload2ᚖgithubᚗcom return ec._InternalPolicyDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInternalPolicyUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.InternalPolicyUpdatePayload) graphql.Marshaler { - return ec._InternalPolicyUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicyUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInternalPolicyUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.InternalPolicyUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/invite.generated.go b/internal/graphapi/generated/invite.generated.go index a8eb11715d..d42e5c18ed 100644 --- a/internal/graphapi/generated/invite.generated.go +++ b/internal/graphapi/generated/invite.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _InviteUpdatePayload(ctx context.Context, sel ast.Se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNInviteBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.InviteBulkCreatePayload) graphql.Marshaler { - return ec._InviteBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInviteBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.InviteBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNInviteBulkCreatePayload2ᚖgithubᚗcomᚋth return ec._InviteBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInviteBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.InviteBulkDeletePayload) graphql.Marshaler { - return ec._InviteBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInviteBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.InviteBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNInviteBulkDeletePayload2ᚖgithubᚗcomᚋth return ec._InviteBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInviteBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.InviteBulkUpdatePayload) graphql.Marshaler { - return ec._InviteBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInviteBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.InviteBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNInviteBulkUpdatePayload2ᚖgithubᚗcomᚋth return ec._InviteBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInviteCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.InviteCreatePayload) graphql.Marshaler { - return ec._InviteCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInviteCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.InviteCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNInviteCreatePayload2ᚖgithubᚗcomᚋtheope return ec._InviteCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInviteDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.InviteDeletePayload) graphql.Marshaler { - return ec._InviteDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInviteDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.InviteDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNInviteDeletePayload2ᚖgithubᚗcomᚋtheope return ec._InviteDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNInviteUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.InviteUpdatePayload) graphql.Marshaler { - return ec._InviteUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNInviteUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐInviteUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.InviteUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/mappabledomain.generated.go b/internal/graphapi/generated/mappabledomain.generated.go index a5de0a5d10..73438baf30 100644 --- a/internal/graphapi/generated/mappabledomain.generated.go +++ b/internal/graphapi/generated/mappabledomain.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _MappableDomainUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNMappableDomainBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.MappableDomainBulkCreatePayload) graphql.Marshaler { - return ec._MappableDomainBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomainBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappableDomainBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNMappableDomainBulkCreatePayload2ᚖgithubᚗ return ec._MappableDomainBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappableDomainBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.MappableDomainBulkDeletePayload) graphql.Marshaler { - return ec._MappableDomainBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomainBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappableDomainBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNMappableDomainBulkDeletePayload2ᚖgithubᚗ return ec._MappableDomainBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappableDomainBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.MappableDomainBulkUpdatePayload) graphql.Marshaler { - return ec._MappableDomainBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomainBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappableDomainBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNMappableDomainBulkUpdatePayload2ᚖgithubᚗ return ec._MappableDomainBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappableDomainCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.MappableDomainCreatePayload) graphql.Marshaler { - return ec._MappableDomainCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomainCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappableDomainCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNMappableDomainCreatePayload2ᚖgithubᚗcom return ec._MappableDomainCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappableDomainDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.MappableDomainDeletePayload) graphql.Marshaler { - return ec._MappableDomainDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomainDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappableDomainDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNMappableDomainDeletePayload2ᚖgithubᚗcom return ec._MappableDomainDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappableDomainUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.MappableDomainUpdatePayload) graphql.Marshaler { - return ec._MappableDomainUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomainUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappableDomainUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappableDomainUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/mappedcontrol.generated.go b/internal/graphapi/generated/mappedcontrol.generated.go index 0bcc551e0d..1a4b65794a 100644 --- a/internal/graphapi/generated/mappedcontrol.generated.go +++ b/internal/graphapi/generated/mappedcontrol.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _MappedControlUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNMappedControlBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.MappedControlBulkCreatePayload) graphql.Marshaler { - return ec._MappedControlBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControlBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappedControlBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNMappedControlBulkCreatePayload2ᚖgithubᚗc return ec._MappedControlBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappedControlBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.MappedControlBulkDeletePayload) graphql.Marshaler { - return ec._MappedControlBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControlBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappedControlBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNMappedControlBulkDeletePayload2ᚖgithubᚗc return ec._MappedControlBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappedControlBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.MappedControlBulkUpdatePayload) graphql.Marshaler { - return ec._MappedControlBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControlBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappedControlBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNMappedControlBulkUpdatePayload2ᚖgithubᚗc return ec._MappedControlBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappedControlCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.MappedControlCreatePayload) graphql.Marshaler { - return ec._MappedControlCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControlCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappedControlCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNMappedControlCreatePayload2ᚖgithubᚗcom return ec._MappedControlCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappedControlDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.MappedControlDeletePayload) graphql.Marshaler { - return ec._MappedControlDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControlDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappedControlDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNMappedControlDeletePayload2ᚖgithubᚗcom return ec._MappedControlDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNMappedControlUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.MappedControlUpdatePayload) graphql.Marshaler { - return ec._MappedControlUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControlUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐMappedControlUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.MappedControlUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/narrative.generated.go b/internal/graphapi/generated/narrative.generated.go index cb296ab913..3332f04f44 100644 --- a/internal/graphapi/generated/narrative.generated.go +++ b/internal/graphapi/generated/narrative.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _NarrativeUpdatePayload(ctx context.Context, sel ast // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNNarrativeBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.NarrativeBulkCreatePayload) graphql.Marshaler { - return ec._NarrativeBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrativeBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NarrativeBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNNarrativeBulkCreatePayload2ᚖgithubᚗcom return ec._NarrativeBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNarrativeBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.NarrativeBulkDeletePayload) graphql.Marshaler { - return ec._NarrativeBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrativeBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.NarrativeBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNNarrativeBulkDeletePayload2ᚖgithubᚗcom return ec._NarrativeBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNarrativeBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.NarrativeBulkUpdatePayload) graphql.Marshaler { - return ec._NarrativeBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrativeBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NarrativeBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNNarrativeBulkUpdatePayload2ᚖgithubᚗcom return ec._NarrativeBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNarrativeCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.NarrativeCreatePayload) graphql.Marshaler { - return ec._NarrativeCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrativeCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NarrativeCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNNarrativeCreatePayload2ᚖgithubᚗcomᚋthe return ec._NarrativeCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNarrativeDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.NarrativeDeletePayload) graphql.Marshaler { - return ec._NarrativeDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrativeDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.NarrativeDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNNarrativeDeletePayload2ᚖgithubᚗcomᚋthe return ec._NarrativeDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNarrativeUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.NarrativeUpdatePayload) graphql.Marshaler { - return ec._NarrativeUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrativeUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNarrativeUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NarrativeUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/note.generated.go b/internal/graphapi/generated/note.generated.go index af8c833c62..d8d2b9413b 100644 --- a/internal/graphapi/generated/note.generated.go +++ b/internal/graphapi/generated/note.generated.go @@ -138,10 +138,6 @@ func (ec *executionContext) _NoteDeletePayload(ctx context.Context, sel ast.Sele // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNNoteDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNoteDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.NoteDeletePayload) graphql.Marshaler { - return ec._NoteDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNoteDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNoteDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.NoteDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/notification.generated.go b/internal/graphapi/generated/notification.generated.go index af49417253..79bbada870 100644 --- a/internal/graphapi/generated/notification.generated.go +++ b/internal/graphapi/generated/notification.generated.go @@ -242,10 +242,6 @@ func (ec *executionContext) _NotificationUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNActionNotificationsReadPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionNotificationsReadPayload(ctx context.Context, sel ast.SelectionSet, v model.ActionNotificationsReadPayload) graphql.Marshaler { - return ec._ActionNotificationsReadPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionNotificationsReadPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐActionNotificationsReadPayload(ctx context.Context, sel ast.SelectionSet, v *model.ActionNotificationsReadPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -256,10 +252,6 @@ func (ec *executionContext) marshalNActionNotificationsReadPayload2ᚖgithubᚗc return ec._ActionNotificationsReadPayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationCreatePayload) graphql.Marshaler { - return ec._NotificationCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -270,10 +262,6 @@ func (ec *executionContext) marshalNNotificationCreatePayload2ᚖgithubᚗcomᚋ return ec._NotificationCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationUpdatePayload) graphql.Marshaler { - return ec._NotificationUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/notificationpreference.generated.go b/internal/graphapi/generated/notificationpreference.generated.go index c9b015c6e2..6d0f3b0ba5 100644 --- a/internal/graphapi/generated/notificationpreference.generated.go +++ b/internal/graphapi/generated/notificationpreference.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _NotificationPreferenceUpdatePayload(ctx context.Con // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNNotificationPreferenceBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationPreferenceBulkCreatePayload) graphql.Marshaler { - return ec._NotificationPreferenceBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreferenceBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationPreferenceBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNNotificationPreferenceBulkCreatePayload2ᚖg return ec._NotificationPreferenceBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationPreferenceBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationPreferenceBulkDeletePayload) graphql.Marshaler { - return ec._NotificationPreferenceBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreferenceBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationPreferenceBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNNotificationPreferenceBulkDeletePayload2ᚖg return ec._NotificationPreferenceBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationPreferenceBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationPreferenceBulkUpdatePayload) graphql.Marshaler { - return ec._NotificationPreferenceBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreferenceBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationPreferenceBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNNotificationPreferenceBulkUpdatePayload2ᚖg return ec._NotificationPreferenceBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationPreferenceCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationPreferenceCreatePayload) graphql.Marshaler { - return ec._NotificationPreferenceCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreferenceCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationPreferenceCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNNotificationPreferenceCreatePayload2ᚖgithu return ec._NotificationPreferenceCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationPreferenceDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationPreferenceDeletePayload) graphql.Marshaler { - return ec._NotificationPreferenceDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreferenceDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationPreferenceDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNNotificationPreferenceDeletePayload2ᚖgithu return ec._NotificationPreferenceDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationPreferenceUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationPreferenceUpdatePayload) graphql.Marshaler { - return ec._NotificationPreferenceUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreferenceUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationPreferenceUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationPreferenceUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/notificationtemplate.generated.go b/internal/graphapi/generated/notificationtemplate.generated.go index 248761c192..46894a4bca 100644 --- a/internal/graphapi/generated/notificationtemplate.generated.go +++ b/internal/graphapi/generated/notificationtemplate.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _NotificationTemplateUpdatePayload(ctx context.Conte // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNNotificationTemplateBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationTemplateBulkCreatePayload) graphql.Marshaler { - return ec._NotificationTemplateBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplateBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationTemplateBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNNotificationTemplateBulkCreatePayload2ᚖgit return ec._NotificationTemplateBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationTemplateBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationTemplateBulkDeletePayload) graphql.Marshaler { - return ec._NotificationTemplateBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplateBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationTemplateBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNNotificationTemplateBulkDeletePayload2ᚖgit return ec._NotificationTemplateBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationTemplateBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationTemplateBulkUpdatePayload) graphql.Marshaler { - return ec._NotificationTemplateBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplateBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationTemplateBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNNotificationTemplateBulkUpdatePayload2ᚖgit return ec._NotificationTemplateBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationTemplateCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationTemplateCreatePayload) graphql.Marshaler { - return ec._NotificationTemplateCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplateCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationTemplateCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNNotificationTemplateCreatePayload2ᚖgithub return ec._NotificationTemplateCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationTemplateDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationTemplateDeletePayload) graphql.Marshaler { - return ec._NotificationTemplateDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplateDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationTemplateDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNNotificationTemplateDeletePayload2ᚖgithub return ec._NotificationTemplateDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNNotificationTemplateUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.NotificationTemplateUpdatePayload) graphql.Marshaler { - return ec._NotificationTemplateUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplateUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐNotificationTemplateUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.NotificationTemplateUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/onboarding.generated.go b/internal/graphapi/generated/onboarding.generated.go index 58d168289f..93274867e0 100644 --- a/internal/graphapi/generated/onboarding.generated.go +++ b/internal/graphapi/generated/onboarding.generated.go @@ -110,10 +110,6 @@ func (ec *executionContext) _OnboardingCreatePayload(ctx context.Context, sel as // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNOnboardingCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOnboardingCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.OnboardingCreatePayload) graphql.Marshaler { - return ec._OnboardingCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOnboardingCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOnboardingCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OnboardingCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/organization.generated.go b/internal/graphapi/generated/organization.generated.go index fa0287e136..b068cd2a30 100644 --- a/internal/graphapi/generated/organization.generated.go +++ b/internal/graphapi/generated/organization.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _OrganizationUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNOrganizationCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationCreatePayload) graphql.Marshaler { - return ec._OrganizationCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNOrganizationCreatePayload2ᚖgithubᚗcomᚋ return ec._OrganizationCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationDeletePayload) graphql.Marshaler { - return ec._OrganizationDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNOrganizationDeletePayload2ᚖgithubᚗcomᚋ return ec._OrganizationDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationUpdatePayload) graphql.Marshaler { - return ec._OrganizationUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/organizationsetting.generated.go b/internal/graphapi/generated/organizationsetting.generated.go index 15f6224d66..0c5f27a11b 100644 --- a/internal/graphapi/generated/organizationsetting.generated.go +++ b/internal/graphapi/generated/organizationsetting.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _OrganizationSettingUpdatePayload(ctx context.Contex // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNOrganizationSettingBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationSettingBulkCreatePayload) graphql.Marshaler { - return ec._OrganizationSettingBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSettingBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationSettingBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNOrganizationSettingBulkCreatePayload2ᚖgith return ec._OrganizationSettingBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationSettingBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationSettingBulkDeletePayload) graphql.Marshaler { - return ec._OrganizationSettingBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSettingBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationSettingBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNOrganizationSettingBulkDeletePayload2ᚖgith return ec._OrganizationSettingBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationSettingBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationSettingBulkUpdatePayload) graphql.Marshaler { - return ec._OrganizationSettingBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSettingBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationSettingBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNOrganizationSettingBulkUpdatePayload2ᚖgith return ec._OrganizationSettingBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationSettingCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationSettingCreatePayload) graphql.Marshaler { - return ec._OrganizationSettingCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSettingCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationSettingCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNOrganizationSettingCreatePayload2ᚖgithub return ec._OrganizationSettingCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationSettingDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationSettingDeletePayload) graphql.Marshaler { - return ec._OrganizationSettingDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSettingDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationSettingDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNOrganizationSettingDeletePayload2ᚖgithub return ec._OrganizationSettingDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrganizationSettingUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationSettingUpdatePayload) graphql.Marshaler { - return ec._OrganizationSettingUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSettingUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationSettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationSettingUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/orgextended.generated.go b/internal/graphapi/generated/orgextended.generated.go index 5ddef58193..57ea7549ab 100644 --- a/internal/graphapi/generated/orgextended.generated.go +++ b/internal/graphapi/generated/orgextended.generated.go @@ -181,10 +181,6 @@ func (ec *executionContext) unmarshalNOrgMembersInput2ᚖgithubᚗcomᚋtheopenl return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNOrganizationTransferOwnershipPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationTransferOwnershipPayload(ctx context.Context, sel ast.SelectionSet, v model.OrganizationTransferOwnershipPayload) graphql.Marshaler { - return ec._OrganizationTransferOwnershipPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationTransferOwnershipPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrganizationTransferOwnershipPayload(ctx context.Context, sel ast.SelectionSet, v *model.OrganizationTransferOwnershipPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/orgmembership.generated.go b/internal/graphapi/generated/orgmembership.generated.go index 8e79c43afe..9db1200b8b 100644 --- a/internal/graphapi/generated/orgmembership.generated.go +++ b/internal/graphapi/generated/orgmembership.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _OrgMembershipUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNOrgMembershipBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrgMembershipBulkCreatePayload) graphql.Marshaler { - return ec._OrgMembershipBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembershipBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrgMembershipBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNOrgMembershipBulkCreatePayload2ᚖgithubᚗc return ec._OrgMembershipBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrgMembershipBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.OrgMembershipBulkDeletePayload) graphql.Marshaler { - return ec._OrgMembershipBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembershipBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrgMembershipBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNOrgMembershipBulkDeletePayload2ᚖgithubᚗc return ec._OrgMembershipBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrgMembershipBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrgMembershipBulkUpdatePayload) graphql.Marshaler { - return ec._OrgMembershipBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembershipBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrgMembershipBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNOrgMembershipBulkUpdatePayload2ᚖgithubᚗc return ec._OrgMembershipBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrgMembershipCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrgMembershipCreatePayload) graphql.Marshaler { - return ec._OrgMembershipCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembershipCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrgMembershipCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNOrgMembershipCreatePayload2ᚖgithubᚗcom return ec._OrgMembershipCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrgMembershipDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.OrgMembershipDeletePayload) graphql.Marshaler { - return ec._OrgMembershipDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembershipDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrgMembershipDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNOrgMembershipDeletePayload2ᚖgithubᚗcom return ec._OrgMembershipDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNOrgMembershipUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.OrgMembershipUpdatePayload) graphql.Marshaler { - return ec._OrgMembershipUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembershipUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐOrgMembershipUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.OrgMembershipUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/personalaccesstoken.generated.go b/internal/graphapi/generated/personalaccesstoken.generated.go index 21221d4d6d..c0899e1f62 100644 --- a/internal/graphapi/generated/personalaccesstoken.generated.go +++ b/internal/graphapi/generated/personalaccesstoken.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _PersonalAccessTokenUpdatePayload(ctx context.Contex // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNPersonalAccessTokenCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPersonalAccessTokenCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.PersonalAccessTokenCreatePayload) graphql.Marshaler { - return ec._PersonalAccessTokenCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNPersonalAccessTokenCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPersonalAccessTokenCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.PersonalAccessTokenCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNPersonalAccessTokenCreatePayload2ᚖgithub return ec._PersonalAccessTokenCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNPersonalAccessTokenDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPersonalAccessTokenDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.PersonalAccessTokenDeletePayload) graphql.Marshaler { - return ec._PersonalAccessTokenDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNPersonalAccessTokenDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPersonalAccessTokenDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.PersonalAccessTokenDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNPersonalAccessTokenDeletePayload2ᚖgithub return ec._PersonalAccessTokenDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNPersonalAccessTokenUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPersonalAccessTokenUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.PersonalAccessTokenUpdatePayload) graphql.Marshaler { - return ec._PersonalAccessTokenUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNPersonalAccessTokenUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPersonalAccessTokenUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.PersonalAccessTokenUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/platform.generated.go b/internal/graphapi/generated/platform.generated.go index a1fcce0e29..d02adc915f 100644 --- a/internal/graphapi/generated/platform.generated.go +++ b/internal/graphapi/generated/platform.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _PlatformUpdatePayload(ctx context.Context, sel ast. // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNPlatformBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPlatformBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.PlatformBulkCreatePayload) graphql.Marshaler { - return ec._PlatformBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNPlatformBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPlatformBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.PlatformBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNPlatformBulkCreatePayload2ᚖgithubᚗcomᚋ return ec._PlatformBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNPlatformCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPlatformCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.PlatformCreatePayload) graphql.Marshaler { - return ec._PlatformCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNPlatformCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPlatformCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.PlatformCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNPlatformCreatePayload2ᚖgithubᚗcomᚋtheo return ec._PlatformCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNPlatformDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPlatformDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.PlatformDeletePayload) graphql.Marshaler { - return ec._PlatformDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNPlatformDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPlatformDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.PlatformDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNPlatformDeletePayload2ᚖgithubᚗcomᚋtheo return ec._PlatformDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNPlatformUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPlatformUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.PlatformUpdatePayload) graphql.Marshaler { - return ec._PlatformUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNPlatformUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐPlatformUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.PlatformUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/procedure.generated.go b/internal/graphapi/generated/procedure.generated.go index 966062f249..cdab47e045 100644 --- a/internal/graphapi/generated/procedure.generated.go +++ b/internal/graphapi/generated/procedure.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ProcedureUpdatePayload(ctx context.Context, sel ast // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNProcedureBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProcedureBulkCreatePayload) graphql.Marshaler { - return ec._ProcedureBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedureBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProcedureBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNProcedureBulkCreatePayload2ᚖgithubᚗcom return ec._ProcedureBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProcedureBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ProcedureBulkDeletePayload) graphql.Marshaler { - return ec._ProcedureBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedureBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProcedureBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNProcedureBulkDeletePayload2ᚖgithubᚗcom return ec._ProcedureBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProcedureBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProcedureBulkUpdatePayload) graphql.Marshaler { - return ec._ProcedureBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedureBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProcedureBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNProcedureBulkUpdatePayload2ᚖgithubᚗcom return ec._ProcedureBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProcedureCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProcedureCreatePayload) graphql.Marshaler { - return ec._ProcedureCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedureCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProcedureCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNProcedureCreatePayload2ᚖgithubᚗcomᚋthe return ec._ProcedureCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProcedureDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ProcedureDeletePayload) graphql.Marshaler { - return ec._ProcedureDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedureDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProcedureDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNProcedureDeletePayload2ᚖgithubᚗcomᚋthe return ec._ProcedureDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProcedureUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProcedureUpdatePayload) graphql.Marshaler { - return ec._ProcedureUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedureUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProcedureUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProcedureUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/program.generated.go b/internal/graphapi/generated/program.generated.go index aed8c2d471..6e312af885 100644 --- a/internal/graphapi/generated/program.generated.go +++ b/internal/graphapi/generated/program.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ProgramUpdatePayload(ctx context.Context, sel ast.S // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNProgramBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramBulkCreatePayload) graphql.Marshaler { - return ec._ProgramBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNProgramBulkCreatePayload2ᚖgithubᚗcomᚋt return ec._ProgramBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramBulkDeletePayload) graphql.Marshaler { - return ec._ProgramBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNProgramBulkDeletePayload2ᚖgithubᚗcomᚋt return ec._ProgramBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramBulkUpdatePayload) graphql.Marshaler { - return ec._ProgramBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNProgramBulkUpdatePayload2ᚖgithubᚗcomᚋt return ec._ProgramBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramCreatePayload) graphql.Marshaler { - return ec._ProgramCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNProgramCreatePayload2ᚖgithubᚗcomᚋtheop return ec._ProgramCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramDeletePayload) graphql.Marshaler { - return ec._ProgramDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNProgramDeletePayload2ᚖgithubᚗcomᚋtheop return ec._ProgramDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramUpdatePayload) graphql.Marshaler { - return ec._ProgramUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/programmembership.generated.go b/internal/graphapi/generated/programmembership.generated.go index 3a169f47f7..3b6c35a93f 100644 --- a/internal/graphapi/generated/programmembership.generated.go +++ b/internal/graphapi/generated/programmembership.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ProgramMembershipUpdatePayload(ctx context.Context, // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNProgramMembershipBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramMembershipBulkCreatePayload) graphql.Marshaler { - return ec._ProgramMembershipBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembershipBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramMembershipBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNProgramMembershipBulkCreatePayload2ᚖgithub return ec._ProgramMembershipBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramMembershipBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramMembershipBulkDeletePayload) graphql.Marshaler { - return ec._ProgramMembershipBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembershipBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramMembershipBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNProgramMembershipBulkDeletePayload2ᚖgithub return ec._ProgramMembershipBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramMembershipBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramMembershipBulkUpdatePayload) graphql.Marshaler { - return ec._ProgramMembershipBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembershipBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramMembershipBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNProgramMembershipBulkUpdatePayload2ᚖgithub return ec._ProgramMembershipBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramMembershipCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramMembershipCreatePayload) graphql.Marshaler { - return ec._ProgramMembershipCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembershipCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramMembershipCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNProgramMembershipCreatePayload2ᚖgithubᚗc return ec._ProgramMembershipCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramMembershipDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramMembershipDeletePayload) graphql.Marshaler { - return ec._ProgramMembershipDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembershipDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramMembershipDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNProgramMembershipDeletePayload2ᚖgithubᚗc return ec._ProgramMembershipDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNProgramMembershipUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ProgramMembershipUpdatePayload) graphql.Marshaler { - return ec._ProgramMembershipUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembershipUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐProgramMembershipUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ProgramMembershipUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/remediation.generated.go b/internal/graphapi/generated/remediation.generated.go index 7069afdac4..a9bbbe788b 100644 --- a/internal/graphapi/generated/remediation.generated.go +++ b/internal/graphapi/generated/remediation.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _RemediationUpdatePayload(ctx context.Context, sel a // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNRemediationBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.RemediationBulkCreatePayload) graphql.Marshaler { - return ec._RemediationBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediationBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.RemediationBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNRemediationBulkCreatePayload2ᚖgithubᚗcom return ec._RemediationBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRemediationBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.RemediationBulkDeletePayload) graphql.Marshaler { - return ec._RemediationBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediationBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.RemediationBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNRemediationBulkDeletePayload2ᚖgithubᚗcom return ec._RemediationBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRemediationBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.RemediationBulkUpdatePayload) graphql.Marshaler { - return ec._RemediationBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediationBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.RemediationBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNRemediationBulkUpdatePayload2ᚖgithubᚗcom return ec._RemediationBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRemediationCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.RemediationCreatePayload) graphql.Marshaler { - return ec._RemediationCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediationCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.RemediationCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNRemediationCreatePayload2ᚖgithubᚗcomᚋt return ec._RemediationCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRemediationDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.RemediationDeletePayload) graphql.Marshaler { - return ec._RemediationDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediationDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.RemediationDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNRemediationDeletePayload2ᚖgithubᚗcomᚋt return ec._RemediationDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRemediationUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.RemediationUpdatePayload) graphql.Marshaler { - return ec._RemediationUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediationUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRemediationUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.RemediationUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/review.generated.go b/internal/graphapi/generated/review.generated.go index af930cf9bf..1dd8a69ac3 100644 --- a/internal/graphapi/generated/review.generated.go +++ b/internal/graphapi/generated/review.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ReviewUpdatePayload(ctx context.Context, sel ast.Se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNReviewBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ReviewBulkCreatePayload) graphql.Marshaler { - return ec._ReviewBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNReviewBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ReviewBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNReviewBulkCreatePayload2ᚖgithubᚗcomᚋth return ec._ReviewBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNReviewBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ReviewBulkDeletePayload) graphql.Marshaler { - return ec._ReviewBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNReviewBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ReviewBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNReviewBulkDeletePayload2ᚖgithubᚗcomᚋth return ec._ReviewBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNReviewBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ReviewBulkUpdatePayload) graphql.Marshaler { - return ec._ReviewBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNReviewBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ReviewBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNReviewBulkUpdatePayload2ᚖgithubᚗcomᚋth return ec._ReviewBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNReviewCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ReviewCreatePayload) graphql.Marshaler { - return ec._ReviewCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNReviewCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ReviewCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNReviewCreatePayload2ᚖgithubᚗcomᚋtheope return ec._ReviewCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNReviewDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ReviewDeletePayload) graphql.Marshaler { - return ec._ReviewDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNReviewDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ReviewDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNReviewDeletePayload2ᚖgithubᚗcomᚋtheope return ec._ReviewDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNReviewUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ReviewUpdatePayload) graphql.Marshaler { - return ec._ReviewUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNReviewUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐReviewUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ReviewUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/risk.generated.go b/internal/graphapi/generated/risk.generated.go index 4dec4c27ba..20f9eba7a7 100644 --- a/internal/graphapi/generated/risk.generated.go +++ b/internal/graphapi/generated/risk.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _RiskUpdatePayload(ctx context.Context, sel ast.Sele // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNRiskBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.RiskBulkCreatePayload) graphql.Marshaler { - return ec._RiskBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRiskBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.RiskBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNRiskBulkCreatePayload2ᚖgithubᚗcomᚋtheo return ec._RiskBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRiskBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.RiskBulkDeletePayload) graphql.Marshaler { - return ec._RiskBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRiskBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.RiskBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNRiskBulkDeletePayload2ᚖgithubᚗcomᚋtheo return ec._RiskBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRiskBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.RiskBulkUpdatePayload) graphql.Marshaler { - return ec._RiskBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRiskBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.RiskBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNRiskBulkUpdatePayload2ᚖgithubᚗcomᚋtheo return ec._RiskBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRiskCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.RiskCreatePayload) graphql.Marshaler { - return ec._RiskCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRiskCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.RiskCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNRiskCreatePayload2ᚖgithubᚗcomᚋtheopenl return ec._RiskCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRiskDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.RiskDeletePayload) graphql.Marshaler { - return ec._RiskDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRiskDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.RiskDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNRiskDeletePayload2ᚖgithubᚗcomᚋtheopenl return ec._RiskDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNRiskUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.RiskUpdatePayload) graphql.Marshaler { - return ec._RiskUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNRiskUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐRiskUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.RiskUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/scan.generated.go b/internal/graphapi/generated/scan.generated.go index d862a10c1d..cfd33b8736 100644 --- a/internal/graphapi/generated/scan.generated.go +++ b/internal/graphapi/generated/scan.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _ScanUpdatePayload(ctx context.Context, sel ast.Sele // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNScanBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ScanBulkCreatePayload) graphql.Marshaler { - return ec._ScanBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNScanBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ScanBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNScanBulkCreatePayload2ᚖgithubᚗcomᚋtheo return ec._ScanBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNScanBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ScanBulkDeletePayload) graphql.Marshaler { - return ec._ScanBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNScanBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ScanBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNScanBulkDeletePayload2ᚖgithubᚗcomᚋtheo return ec._ScanBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNScanBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ScanBulkUpdatePayload) graphql.Marshaler { - return ec._ScanBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNScanBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ScanBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNScanBulkUpdatePayload2ᚖgithubᚗcomᚋtheo return ec._ScanBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNScanCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.ScanCreatePayload) graphql.Marshaler { - return ec._ScanCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNScanCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ScanCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNScanCreatePayload2ᚖgithubᚗcomᚋtheopenl return ec._ScanCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNScanDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.ScanDeletePayload) graphql.Marshaler { - return ec._ScanDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNScanDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.ScanDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNScanDeletePayload2ᚖgithubᚗcomᚋtheopenl return ec._ScanDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNScanUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.ScanUpdatePayload) graphql.Marshaler { - return ec._ScanUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNScanUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐScanUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.ScanUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/sladefinition.generated.go b/internal/graphapi/generated/sladefinition.generated.go index b0c13ee8fe..4357389ce0 100644 --- a/internal/graphapi/generated/sladefinition.generated.go +++ b/internal/graphapi/generated/sladefinition.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _SLADefinitionUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNSLADefinitionBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SLADefinitionBulkCreatePayload) graphql.Marshaler { - return ec._SLADefinitionBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinitionBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SLADefinitionBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNSLADefinitionBulkCreatePayload2ᚖgithubᚗc return ec._SLADefinitionBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSLADefinitionBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SLADefinitionBulkDeletePayload) graphql.Marshaler { - return ec._SLADefinitionBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinitionBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SLADefinitionBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNSLADefinitionBulkDeletePayload2ᚖgithubᚗc return ec._SLADefinitionBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSLADefinitionBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SLADefinitionBulkUpdatePayload) graphql.Marshaler { - return ec._SLADefinitionBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinitionBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SLADefinitionBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNSLADefinitionBulkUpdatePayload2ᚖgithubᚗc return ec._SLADefinitionBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSLADefinitionCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SLADefinitionCreatePayload) graphql.Marshaler { - return ec._SLADefinitionCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinitionCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SLADefinitionCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNSLADefinitionCreatePayload2ᚖgithubᚗcom return ec._SLADefinitionCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSLADefinitionDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SLADefinitionDeletePayload) graphql.Marshaler { - return ec._SLADefinitionDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinitionDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SLADefinitionDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNSLADefinitionDeletePayload2ᚖgithubᚗcom return ec._SLADefinitionDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSLADefinitionUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SLADefinitionUpdatePayload) graphql.Marshaler { - return ec._SLADefinitionUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinitionUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSLADefinitionUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SLADefinitionUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/standard.generated.go b/internal/graphapi/generated/standard.generated.go index ddb14487ec..938ef868e8 100644 --- a/internal/graphapi/generated/standard.generated.go +++ b/internal/graphapi/generated/standard.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _StandardUpdatePayload(ctx context.Context, sel ast. // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNStandardCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐStandardCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.StandardCreatePayload) graphql.Marshaler { - return ec._StandardCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNStandardCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐStandardCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.StandardCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNStandardCreatePayload2ᚖgithubᚗcomᚋtheo return ec._StandardCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNStandardDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐStandardDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.StandardDeletePayload) graphql.Marshaler { - return ec._StandardDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNStandardDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐStandardDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.StandardDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNStandardDeletePayload2ᚖgithubᚗcomᚋtheo return ec._StandardDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNStandardUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐStandardUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.StandardUpdatePayload) graphql.Marshaler { - return ec._StandardUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNStandardUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐStandardUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.StandardUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/subcontrol.generated.go b/internal/graphapi/generated/subcontrol.generated.go index d93a34c075..a5fdb74252 100644 --- a/internal/graphapi/generated/subcontrol.generated.go +++ b/internal/graphapi/generated/subcontrol.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _SubcontrolUpdatePayload(ctx context.Context, sel as // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNSubcontrolBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubcontrolBulkCreatePayload) graphql.Marshaler { - return ec._SubcontrolBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrolBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubcontrolBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNSubcontrolBulkCreatePayload2ᚖgithubᚗcom return ec._SubcontrolBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubcontrolBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SubcontrolBulkDeletePayload) graphql.Marshaler { - return ec._SubcontrolBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrolBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubcontrolBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNSubcontrolBulkDeletePayload2ᚖgithubᚗcom return ec._SubcontrolBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubcontrolBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubcontrolBulkUpdatePayload) graphql.Marshaler { - return ec._SubcontrolBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrolBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubcontrolBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNSubcontrolBulkUpdatePayload2ᚖgithubᚗcom return ec._SubcontrolBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubcontrolCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubcontrolCreatePayload) graphql.Marshaler { - return ec._SubcontrolCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrolCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubcontrolCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNSubcontrolCreatePayload2ᚖgithubᚗcomᚋth return ec._SubcontrolCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubcontrolDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SubcontrolDeletePayload) graphql.Marshaler { - return ec._SubcontrolDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrolDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubcontrolDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNSubcontrolDeletePayload2ᚖgithubᚗcomᚋth return ec._SubcontrolDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubcontrolUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubcontrolUpdatePayload) graphql.Marshaler { - return ec._SubcontrolUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrolUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubcontrolUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubcontrolUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/subprocessor.generated.go b/internal/graphapi/generated/subprocessor.generated.go index 2eaa0a069f..b45e3774a7 100644 --- a/internal/graphapi/generated/subprocessor.generated.go +++ b/internal/graphapi/generated/subprocessor.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _SubprocessorUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNSubprocessorBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubprocessorBulkCreatePayload) graphql.Marshaler { - return ec._SubprocessorBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessorBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubprocessorBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNSubprocessorBulkCreatePayload2ᚖgithubᚗco return ec._SubprocessorBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubprocessorBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SubprocessorBulkDeletePayload) graphql.Marshaler { - return ec._SubprocessorBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessorBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubprocessorBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNSubprocessorBulkDeletePayload2ᚖgithubᚗco return ec._SubprocessorBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubprocessorBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubprocessorBulkUpdatePayload) graphql.Marshaler { - return ec._SubprocessorBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessorBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubprocessorBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNSubprocessorBulkUpdatePayload2ᚖgithubᚗco return ec._SubprocessorBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubprocessorCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubprocessorCreatePayload) graphql.Marshaler { - return ec._SubprocessorCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessorCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubprocessorCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNSubprocessorCreatePayload2ᚖgithubᚗcomᚋ return ec._SubprocessorCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubprocessorDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SubprocessorDeletePayload) graphql.Marshaler { - return ec._SubprocessorDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessorDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubprocessorDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNSubprocessorDeletePayload2ᚖgithubᚗcomᚋ return ec._SubprocessorDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubprocessorUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubprocessorUpdatePayload) graphql.Marshaler { - return ec._SubprocessorUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessorUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubprocessorUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubprocessorUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/subscriber.generated.go b/internal/graphapi/generated/subscriber.generated.go index 177a17820f..f57463d486 100644 --- a/internal/graphapi/generated/subscriber.generated.go +++ b/internal/graphapi/generated/subscriber.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _SubscriberUpdatePayload(ctx context.Context, sel as // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNSubscriberBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubscriberBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubscriberBulkCreatePayload) graphql.Marshaler { - return ec._SubscriberBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubscriberBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubscriberBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubscriberBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNSubscriberBulkCreatePayload2ᚖgithubᚗcom return ec._SubscriberBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubscriberCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubscriberCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubscriberCreatePayload) graphql.Marshaler { - return ec._SubscriberCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubscriberCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubscriberCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubscriberCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNSubscriberCreatePayload2ᚖgithubᚗcomᚋth return ec._SubscriberCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubscriberDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubscriberDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SubscriberDeletePayload) graphql.Marshaler { - return ec._SubscriberDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubscriberDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubscriberDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubscriberDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNSubscriberDeletePayload2ᚖgithubᚗcomᚋth return ec._SubscriberDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSubscriberUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubscriberUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SubscriberUpdatePayload) graphql.Marshaler { - return ec._SubscriberUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubscriberUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubscriberUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubscriberUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/systemdetail.generated.go b/internal/graphapi/generated/systemdetail.generated.go index 4d2419bef1..a4fc40667d 100644 --- a/internal/graphapi/generated/systemdetail.generated.go +++ b/internal/graphapi/generated/systemdetail.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _SystemDetailUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNSystemDetailBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SystemDetailBulkCreatePayload) graphql.Marshaler { - return ec._SystemDetailBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetailBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SystemDetailBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNSystemDetailBulkCreatePayload2ᚖgithubᚗco return ec._SystemDetailBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSystemDetailBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SystemDetailBulkDeletePayload) graphql.Marshaler { - return ec._SystemDetailBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetailBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SystemDetailBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNSystemDetailBulkDeletePayload2ᚖgithubᚗco return ec._SystemDetailBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSystemDetailBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SystemDetailBulkUpdatePayload) graphql.Marshaler { - return ec._SystemDetailBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetailBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SystemDetailBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNSystemDetailBulkUpdatePayload2ᚖgithubᚗco return ec._SystemDetailBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSystemDetailCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.SystemDetailCreatePayload) graphql.Marshaler { - return ec._SystemDetailCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetailCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SystemDetailCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNSystemDetailCreatePayload2ᚖgithubᚗcomᚋ return ec._SystemDetailCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSystemDetailDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.SystemDetailDeletePayload) graphql.Marshaler { - return ec._SystemDetailDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetailDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.SystemDetailDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNSystemDetailDeletePayload2ᚖgithubᚗcomᚋ return ec._SystemDetailDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNSystemDetailUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.SystemDetailUpdatePayload) graphql.Marshaler { - return ec._SystemDetailUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetailUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSystemDetailUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.SystemDetailUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/tagdefinition.generated.go b/internal/graphapi/generated/tagdefinition.generated.go index 10e100f38f..6752c857ed 100644 --- a/internal/graphapi/generated/tagdefinition.generated.go +++ b/internal/graphapi/generated/tagdefinition.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _TagDefinitionUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTagDefinitionBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTagDefinitionBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TagDefinitionBulkCreatePayload) graphql.Marshaler { - return ec._TagDefinitionBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTagDefinitionBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTagDefinitionBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TagDefinitionBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNTagDefinitionBulkCreatePayload2ᚖgithubᚗc return ec._TagDefinitionBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTagDefinitionCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTagDefinitionCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TagDefinitionCreatePayload) graphql.Marshaler { - return ec._TagDefinitionCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTagDefinitionCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTagDefinitionCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TagDefinitionCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNTagDefinitionCreatePayload2ᚖgithubᚗcom return ec._TagDefinitionCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTagDefinitionDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTagDefinitionDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TagDefinitionDeletePayload) graphql.Marshaler { - return ec._TagDefinitionDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTagDefinitionDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTagDefinitionDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TagDefinitionDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNTagDefinitionDeletePayload2ᚖgithubᚗcom return ec._TagDefinitionDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTagDefinitionUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTagDefinitionUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TagDefinitionUpdatePayload) graphql.Marshaler { - return ec._TagDefinitionUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTagDefinitionUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTagDefinitionUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TagDefinitionUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/task.generated.go b/internal/graphapi/generated/task.generated.go index fc74569c52..9906fc1462 100644 --- a/internal/graphapi/generated/task.generated.go +++ b/internal/graphapi/generated/task.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _TaskUpdatePayload(ctx context.Context, sel ast.Sele // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTaskBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TaskBulkCreatePayload) graphql.Marshaler { - return ec._TaskBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTaskBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TaskBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNTaskBulkCreatePayload2ᚖgithubᚗcomᚋtheo return ec._TaskBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTaskBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TaskBulkDeletePayload) graphql.Marshaler { - return ec._TaskBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTaskBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TaskBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNTaskBulkDeletePayload2ᚖgithubᚗcomᚋtheo return ec._TaskBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTaskBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TaskBulkUpdatePayload) graphql.Marshaler { - return ec._TaskBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTaskBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TaskBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNTaskBulkUpdatePayload2ᚖgithubᚗcomᚋtheo return ec._TaskBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTaskCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TaskCreatePayload) graphql.Marshaler { - return ec._TaskCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTaskCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TaskCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNTaskCreatePayload2ᚖgithubᚗcomᚋtheopenl return ec._TaskCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTaskDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TaskDeletePayload) graphql.Marshaler { - return ec._TaskDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTaskDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TaskDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNTaskDeletePayload2ᚖgithubᚗcomᚋtheopenl return ec._TaskDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTaskUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TaskUpdatePayload) graphql.Marshaler { - return ec._TaskUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTaskUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTaskUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TaskUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/template.generated.go b/internal/graphapi/generated/template.generated.go index 982b23f74d..84e41df532 100644 --- a/internal/graphapi/generated/template.generated.go +++ b/internal/graphapi/generated/template.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _TemplateUpdatePayload(ctx context.Context, sel ast. // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTemplateBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TemplateBulkCreatePayload) graphql.Marshaler { - return ec._TemplateBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplateBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TemplateBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNTemplateBulkCreatePayload2ᚖgithubᚗcomᚋ return ec._TemplateBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTemplateBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TemplateBulkDeletePayload) graphql.Marshaler { - return ec._TemplateBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplateBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TemplateBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNTemplateBulkDeletePayload2ᚖgithubᚗcomᚋ return ec._TemplateBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTemplateBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TemplateBulkUpdatePayload) graphql.Marshaler { - return ec._TemplateBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplateBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TemplateBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNTemplateBulkUpdatePayload2ᚖgithubᚗcomᚋ return ec._TemplateBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTemplateCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TemplateCreatePayload) graphql.Marshaler { - return ec._TemplateCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplateCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TemplateCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNTemplateCreatePayload2ᚖgithubᚗcomᚋtheo return ec._TemplateCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTemplateDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TemplateDeletePayload) graphql.Marshaler { - return ec._TemplateDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplateDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TemplateDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNTemplateDeletePayload2ᚖgithubᚗcomᚋtheo return ec._TemplateDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTemplateUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TemplateUpdatePayload) graphql.Marshaler { - return ec._TemplateUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplateUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTemplateUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TemplateUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/tfasetting.generated.go b/internal/graphapi/generated/tfasetting.generated.go index 3cdeb32f99..f8467fd4d0 100644 --- a/internal/graphapi/generated/tfasetting.generated.go +++ b/internal/graphapi/generated/tfasetting.generated.go @@ -321,10 +321,6 @@ func (ec *executionContext) _TFASettingUpdatePayload(ctx context.Context, sel as // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTFASettingCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTFASettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TFASettingCreatePayload) graphql.Marshaler { - return ec._TFASettingCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTFASettingCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTFASettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TFASettingCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -335,10 +331,6 @@ func (ec *executionContext) marshalNTFASettingCreatePayload2ᚖgithubᚗcomᚋth return ec._TFASettingCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTFASettingUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTFASettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TFASettingUpdatePayload) graphql.Marshaler { - return ec._TFASettingUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTFASettingUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTFASettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TFASettingUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenter.generated.go b/internal/graphapi/generated/trustcenter.generated.go index 244d145d02..7cb3abf541 100644 --- a/internal/graphapi/generated/trustcenter.generated.go +++ b/internal/graphapi/generated/trustcenter.generated.go @@ -242,10 +242,6 @@ func (ec *executionContext) _TrustCenterUpdatePayload(ctx context.Context, sel a // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTrustCenterCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterCreatePayload) graphql.Marshaler { - return ec._TrustCenterCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -256,10 +252,6 @@ func (ec *executionContext) marshalNTrustCenterCreatePayload2ᚖgithubᚗcomᚋt return ec._TrustCenterCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterDeletePayload) graphql.Marshaler { - return ec._TrustCenterDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -270,10 +262,6 @@ func (ec *executionContext) marshalNTrustCenterDeletePayload2ᚖgithubᚗcomᚋt return ec._TrustCenterDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterUpdatePayload) graphql.Marshaler { - return ec._TrustCenterUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcentercompliance.generated.go b/internal/graphapi/generated/trustcentercompliance.generated.go index 7416de8cfe..e97dc758e2 100644 --- a/internal/graphapi/generated/trustcentercompliance.generated.go +++ b/internal/graphapi/generated/trustcentercompliance.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _TrustCenterComplianceUpdatePayload(ctx context.Cont // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTrustCenterComplianceBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterComplianceBulkCreatePayload) graphql.Marshaler { - return ec._TrustCenterComplianceBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterComplianceBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterComplianceBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNTrustCenterComplianceBulkCreatePayload2ᚖgi return ec._TrustCenterComplianceBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterComplianceBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterComplianceBulkDeletePayload) graphql.Marshaler { - return ec._TrustCenterComplianceBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterComplianceBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterComplianceBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNTrustCenterComplianceBulkDeletePayload2ᚖgi return ec._TrustCenterComplianceBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterComplianceBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterComplianceBulkUpdatePayload) graphql.Marshaler { - return ec._TrustCenterComplianceBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterComplianceBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterComplianceBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNTrustCenterComplianceBulkUpdatePayload2ᚖgi return ec._TrustCenterComplianceBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterComplianceCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterComplianceCreatePayload) graphql.Marshaler { - return ec._TrustCenterComplianceCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterComplianceCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterComplianceCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNTrustCenterComplianceCreatePayload2ᚖgithub return ec._TrustCenterComplianceCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterComplianceDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterComplianceDeletePayload) graphql.Marshaler { - return ec._TrustCenterComplianceDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterComplianceDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterComplianceDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNTrustCenterComplianceDeletePayload2ᚖgithub return ec._TrustCenterComplianceDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterComplianceUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterComplianceUpdatePayload) graphql.Marshaler { - return ec._TrustCenterComplianceUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterComplianceUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterComplianceUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterComplianceUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenterdoc.generated.go b/internal/graphapi/generated/trustcenterdoc.generated.go index 1499bbd9e9..8bddf45093 100644 --- a/internal/graphapi/generated/trustcenterdoc.generated.go +++ b/internal/graphapi/generated/trustcenterdoc.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _TrustCenterDocUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTrustCenterDocBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterDocBulkCreatePayload) graphql.Marshaler { - return ec._TrustCenterDocBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDocBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterDocBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNTrustCenterDocBulkCreatePayload2ᚖgithubᚗ return ec._TrustCenterDocBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterDocBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterDocBulkDeletePayload) graphql.Marshaler { - return ec._TrustCenterDocBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDocBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterDocBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNTrustCenterDocBulkDeletePayload2ᚖgithubᚗ return ec._TrustCenterDocBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterDocBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterDocBulkUpdatePayload) graphql.Marshaler { - return ec._TrustCenterDocBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDocBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterDocBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNTrustCenterDocBulkUpdatePayload2ᚖgithubᚗ return ec._TrustCenterDocBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterDocCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterDocCreatePayload) graphql.Marshaler { - return ec._TrustCenterDocCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDocCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterDocCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNTrustCenterDocCreatePayload2ᚖgithubᚗcom return ec._TrustCenterDocCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterDocDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterDocDeletePayload) graphql.Marshaler { - return ec._TrustCenterDocDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDocDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterDocDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNTrustCenterDocDeletePayload2ᚖgithubᚗcom return ec._TrustCenterDocDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterDocUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterDocUpdatePayload) graphql.Marshaler { - return ec._TrustCenterDocUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDocUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDocUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterDocUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenterdomain.generated.go b/internal/graphapi/generated/trustcenterdomain.generated.go index 2a91ff6b14..abc793570e 100644 --- a/internal/graphapi/generated/trustcenterdomain.generated.go +++ b/internal/graphapi/generated/trustcenterdomain.generated.go @@ -159,10 +159,6 @@ func (ec *executionContext) unmarshalNCreateTrustCenterDomainInput2githubᚗcom return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterDomainCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDomainCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterDomainCreatePayload) graphql.Marshaler { - return ec._TrustCenterDomainCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDomainCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterDomainCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterDomainCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenterentity.generated.go b/internal/graphapi/generated/trustcenterentity.generated.go index a06a5187a9..652406bad4 100644 --- a/internal/graphapi/generated/trustcenterentity.generated.go +++ b/internal/graphapi/generated/trustcenterentity.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _TrustCenterEntityUpdatePayload(ctx context.Context, // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTrustCenterEntityBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterEntityBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterEntityBulkCreatePayload) graphql.Marshaler { - return ec._TrustCenterEntityBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterEntityBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterEntityBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterEntityBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNTrustCenterEntityBulkCreatePayload2ᚖgithub return ec._TrustCenterEntityBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterEntityCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterEntityCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterEntityCreatePayload) graphql.Marshaler { - return ec._TrustCenterEntityCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterEntityCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterEntityCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterEntityCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNTrustCenterEntityCreatePayload2ᚖgithubᚗc return ec._TrustCenterEntityCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterEntityDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterEntityDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterEntityDeletePayload) graphql.Marshaler { - return ec._TrustCenterEntityDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterEntityDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterEntityDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterEntityDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNTrustCenterEntityDeletePayload2ᚖgithubᚗc return ec._TrustCenterEntityDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterEntityUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterEntityUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterEntityUpdatePayload) graphql.Marshaler { - return ec._TrustCenterEntityUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterEntityUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterEntityUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterEntityUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenterfaq.generated.go b/internal/graphapi/generated/trustcenterfaq.generated.go index 7d80d2b43f..f3de956020 100644 --- a/internal/graphapi/generated/trustcenterfaq.generated.go +++ b/internal/graphapi/generated/trustcenterfaq.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _TrustCenterFAQUpdatePayload(ctx context.Context, se // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTrustCenterFAQBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterFAQBulkCreatePayload) graphql.Marshaler { - return ec._TrustCenterFAQBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterFAQBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNTrustCenterFAQBulkCreatePayload2ᚖgithubᚗ return ec._TrustCenterFAQBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterFAQBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterFAQBulkDeletePayload) graphql.Marshaler { - return ec._TrustCenterFAQBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterFAQBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNTrustCenterFAQBulkDeletePayload2ᚖgithubᚗ return ec._TrustCenterFAQBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterFAQBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterFAQBulkUpdatePayload) graphql.Marshaler { - return ec._TrustCenterFAQBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterFAQBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNTrustCenterFAQBulkUpdatePayload2ᚖgithubᚗ return ec._TrustCenterFAQBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterFAQCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterFAQCreatePayload) graphql.Marshaler { - return ec._TrustCenterFAQCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterFAQCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNTrustCenterFAQCreatePayload2ᚖgithubᚗcom return ec._TrustCenterFAQCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterFAQDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterFAQDeletePayload) graphql.Marshaler { - return ec._TrustCenterFAQDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterFAQDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNTrustCenterFAQDeletePayload2ᚖgithubᚗcom return ec._TrustCenterFAQDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterFAQUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterFAQUpdatePayload) graphql.Marshaler { - return ec._TrustCenterFAQUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterFAQUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterFAQUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenternda.generated.go b/internal/graphapi/generated/trustcenternda.generated.go index d593ddab21..52288c4ba2 100644 --- a/internal/graphapi/generated/trustcenternda.generated.go +++ b/internal/graphapi/generated/trustcenternda.generated.go @@ -327,10 +327,6 @@ func (ec *executionContext) unmarshalNSubmitTrustCenterNDAResponseInput2github return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSubmitTrustCenterNDAResponsePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubmitTrustCenterNDAResponsePayload(ctx context.Context, sel ast.SelectionSet, v model.SubmitTrustCenterNDAResponsePayload) graphql.Marshaler { - return ec._SubmitTrustCenterNDAResponsePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubmitTrustCenterNDAResponsePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐSubmitTrustCenterNDAResponsePayload(ctx context.Context, sel ast.SelectionSet, v *model.SubmitTrustCenterNDAResponsePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -341,10 +337,6 @@ func (ec *executionContext) marshalNSubmitTrustCenterNDAResponsePayload2ᚖgithu return ec._SubmitTrustCenterNDAResponsePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterNDACreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDACreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterNDACreatePayload) graphql.Marshaler { - return ec._TrustCenterNDACreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDACreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDACreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterNDACreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -355,10 +347,6 @@ func (ec *executionContext) marshalNTrustCenterNDACreatePayload2ᚖgithubᚗcom return ec._TrustCenterNDACreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterNDAUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDAUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterNDAUpdatePayload) graphql.Marshaler { - return ec._TrustCenterNDAUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDAUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDAUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterNDAUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenterndarequest.generated.go b/internal/graphapi/generated/trustcenterndarequest.generated.go index 9a1488fca4..cd86c8f695 100644 --- a/internal/graphapi/generated/trustcenterndarequest.generated.go +++ b/internal/graphapi/generated/trustcenterndarequest.generated.go @@ -551,10 +551,6 @@ func (ec *executionContext) _TrustCenterNDARequestUpdatePayload(ctx context.Cont // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNBulkUpdateStatusPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐBulkUpdateStatusPayload(ctx context.Context, sel ast.SelectionSet, v model.BulkUpdateStatusPayload) graphql.Marshaler { - return ec._BulkUpdateStatusPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNBulkUpdateStatusPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐBulkUpdateStatusPayload(ctx context.Context, sel ast.SelectionSet, v *model.BulkUpdateStatusPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -565,10 +561,6 @@ func (ec *executionContext) marshalNBulkUpdateStatusPayload2ᚖgithubᚗcomᚋth return ec._BulkUpdateStatusPayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterAccessTokenPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterAccessTokenPayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterAccessTokenPayload) graphql.Marshaler { - return ec._TrustCenterAccessTokenPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterAccessTokenPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterAccessTokenPayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterAccessTokenPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -579,10 +571,6 @@ func (ec *executionContext) marshalNTrustCenterAccessTokenPayload2ᚖgithubᚗco return ec._TrustCenterAccessTokenPayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterNDARequestBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterNDARequestBulkCreatePayload) graphql.Marshaler { - return ec._TrustCenterNDARequestBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDARequestBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterNDARequestBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -593,10 +581,6 @@ func (ec *executionContext) marshalNTrustCenterNDARequestBulkCreatePayload2ᚖgi return ec._TrustCenterNDARequestBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterNDARequestBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterNDARequestBulkDeletePayload) graphql.Marshaler { - return ec._TrustCenterNDARequestBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDARequestBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterNDARequestBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -607,10 +591,6 @@ func (ec *executionContext) marshalNTrustCenterNDARequestBulkDeletePayload2ᚖgi return ec._TrustCenterNDARequestBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterNDARequestCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterNDARequestCreatePayload) graphql.Marshaler { - return ec._TrustCenterNDARequestCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDARequestCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterNDARequestCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -621,10 +601,6 @@ func (ec *executionContext) marshalNTrustCenterNDARequestCreatePayload2ᚖgithub return ec._TrustCenterNDARequestCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterNDARequestDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterNDARequestDeletePayload) graphql.Marshaler { - return ec._TrustCenterNDARequestDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDARequestDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterNDARequestDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -635,10 +611,6 @@ func (ec *executionContext) marshalNTrustCenterNDARequestDeletePayload2ᚖgithub return ec._TrustCenterNDARequestDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterNDARequestUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterNDARequestUpdatePayload) graphql.Marshaler { - return ec._TrustCenterNDARequestUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDARequestUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterNDARequestUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterNDARequestUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenterpreviewsetting.generated.go b/internal/graphapi/generated/trustcenterpreviewsetting.generated.go index 6bcc50367f..a32b724fda 100644 --- a/internal/graphapi/generated/trustcenterpreviewsetting.generated.go +++ b/internal/graphapi/generated/trustcenterpreviewsetting.generated.go @@ -236,10 +236,6 @@ func (ec *executionContext) unmarshalNCreateTrustCenterPreviewSettingInput2githu return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterPreviewSettingCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterPreviewSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterPreviewSettingCreatePayload) graphql.Marshaler { - return ec._TrustCenterPreviewSettingCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterPreviewSettingCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterPreviewSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterPreviewSettingCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcentersetting.generated.go b/internal/graphapi/generated/trustcentersetting.generated.go index 26053d8531..db5de22c89 100644 --- a/internal/graphapi/generated/trustcentersetting.generated.go +++ b/internal/graphapi/generated/trustcentersetting.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _TrustCenterSettingUpdatePayload(ctx context.Context // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTrustCenterSettingCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSettingCreatePayload) graphql.Marshaler { - return ec._TrustCenterSettingCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSettingCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSettingCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNTrustCenterSettingCreatePayload2ᚖgithubᚗ return ec._TrustCenterSettingCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSettingDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSettingDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSettingDeletePayload) graphql.Marshaler { - return ec._TrustCenterSettingDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSettingDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSettingDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSettingDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNTrustCenterSettingDeletePayload2ᚖgithubᚗ return ec._TrustCenterSettingDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSettingUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSettingUpdatePayload) graphql.Marshaler { - return ec._TrustCenterSettingUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSettingUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSettingUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcentersubprocessor.generated.go b/internal/graphapi/generated/trustcentersubprocessor.generated.go index bd1430b54d..c4a9b5c014 100644 --- a/internal/graphapi/generated/trustcentersubprocessor.generated.go +++ b/internal/graphapi/generated/trustcentersubprocessor.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _TrustCenterSubprocessorUpdatePayload(ctx context.Co // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTrustCenterSubprocessorBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSubprocessorBulkCreatePayload) graphql.Marshaler { - return ec._TrustCenterSubprocessorBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessorBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSubprocessorBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNTrustCenterSubprocessorBulkCreatePayload2ᚖ return ec._TrustCenterSubprocessorBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSubprocessorBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSubprocessorBulkDeletePayload) graphql.Marshaler { - return ec._TrustCenterSubprocessorBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessorBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSubprocessorBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNTrustCenterSubprocessorBulkDeletePayload2ᚖ return ec._TrustCenterSubprocessorBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSubprocessorBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSubprocessorBulkUpdatePayload) graphql.Marshaler { - return ec._TrustCenterSubprocessorBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessorBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSubprocessorBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNTrustCenterSubprocessorBulkUpdatePayload2ᚖ return ec._TrustCenterSubprocessorBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSubprocessorCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSubprocessorCreatePayload) graphql.Marshaler { - return ec._TrustCenterSubprocessorCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessorCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSubprocessorCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNTrustCenterSubprocessorCreatePayload2ᚖgith return ec._TrustCenterSubprocessorCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSubprocessorDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSubprocessorDeletePayload) graphql.Marshaler { - return ec._TrustCenterSubprocessorDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessorDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSubprocessorDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNTrustCenterSubprocessorDeletePayload2ᚖgith return ec._TrustCenterSubprocessorDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterSubprocessorUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterSubprocessorUpdatePayload) graphql.Marshaler { - return ec._TrustCenterSubprocessorUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessorUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterSubprocessorUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterSubprocessorUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/trustcenterwatermarkconfig.generated.go b/internal/graphapi/generated/trustcenterwatermarkconfig.generated.go index 8092498da2..e3f42aa755 100644 --- a/internal/graphapi/generated/trustcenterwatermarkconfig.generated.go +++ b/internal/graphapi/generated/trustcenterwatermarkconfig.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _TrustCenterWatermarkConfigUpdatePayload(ctx context // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNTrustCenterWatermarkConfigCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterWatermarkConfigCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterWatermarkConfigCreatePayload) graphql.Marshaler { - return ec._TrustCenterWatermarkConfigCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterWatermarkConfigCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterWatermarkConfigCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterWatermarkConfigCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNTrustCenterWatermarkConfigCreatePayload2ᚖg return ec._TrustCenterWatermarkConfigCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterWatermarkConfigDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterWatermarkConfigDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterWatermarkConfigDeletePayload) graphql.Marshaler { - return ec._TrustCenterWatermarkConfigDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterWatermarkConfigDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterWatermarkConfigDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterWatermarkConfigDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNTrustCenterWatermarkConfigDeletePayload2ᚖg return ec._TrustCenterWatermarkConfigDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNTrustCenterWatermarkConfigUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterWatermarkConfigUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.TrustCenterWatermarkConfigUpdatePayload) graphql.Marshaler { - return ec._TrustCenterWatermarkConfigUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterWatermarkConfigUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐTrustCenterWatermarkConfigUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.TrustCenterWatermarkConfigUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/user.generated.go b/internal/graphapi/generated/user.generated.go index 4e7893e3a4..db8091a309 100644 --- a/internal/graphapi/generated/user.generated.go +++ b/internal/graphapi/generated/user.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _UserUpdatePayload(ctx context.Context, sel ast.Sele // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNUserCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.UserCreatePayload) graphql.Marshaler { - return ec._UserCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.UserCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNUserCreatePayload2ᚖgithubᚗcomᚋtheopenl return ec._UserCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNUserDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.UserDeletePayload) graphql.Marshaler { - return ec._UserDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.UserDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNUserDeletePayload2ᚖgithubᚗcomᚋtheopenl return ec._UserDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNUserUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.UserUpdatePayload) graphql.Marshaler { - return ec._UserUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.UserUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/usersetting.generated.go b/internal/graphapi/generated/usersetting.generated.go index e1ba4caab0..ee70cfedda 100644 --- a/internal/graphapi/generated/usersetting.generated.go +++ b/internal/graphapi/generated/usersetting.generated.go @@ -522,10 +522,6 @@ func (ec *executionContext) _UserSettingUpdatePayload(ctx context.Context, sel a // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNUserSettingBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.UserSettingBulkCreatePayload) graphql.Marshaler { - return ec._UserSettingBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserSettingBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.UserSettingBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -536,10 +532,6 @@ func (ec *executionContext) marshalNUserSettingBulkCreatePayload2ᚖgithubᚗcom return ec._UserSettingBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNUserSettingBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.UserSettingBulkDeletePayload) graphql.Marshaler { - return ec._UserSettingBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserSettingBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.UserSettingBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -550,10 +542,6 @@ func (ec *executionContext) marshalNUserSettingBulkDeletePayload2ᚖgithubᚗcom return ec._UserSettingBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNUserSettingBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.UserSettingBulkUpdatePayload) graphql.Marshaler { - return ec._UserSettingBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserSettingBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.UserSettingBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -564,10 +552,6 @@ func (ec *executionContext) marshalNUserSettingBulkUpdatePayload2ᚖgithubᚗcom return ec._UserSettingBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNUserSettingCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.UserSettingCreatePayload) graphql.Marshaler { - return ec._UserSettingCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserSettingCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.UserSettingCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -578,10 +562,6 @@ func (ec *executionContext) marshalNUserSettingCreatePayload2ᚖgithubᚗcomᚋt return ec._UserSettingCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNUserSettingUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.UserSettingUpdatePayload) graphql.Marshaler { - return ec._UserSettingUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserSettingUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐUserSettingUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.UserSettingUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/vendorriskscore.generated.go b/internal/graphapi/generated/vendorriskscore.generated.go index c61839585a..d6b1b7dcdc 100644 --- a/internal/graphapi/generated/vendorriskscore.generated.go +++ b/internal/graphapi/generated/vendorriskscore.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _VendorRiskScoreUpdatePayload(ctx context.Context, s // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNVendorRiskScoreBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorRiskScoreBulkCreatePayload) graphql.Marshaler { - return ec._VendorRiskScoreBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScoreBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorRiskScoreBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNVendorRiskScoreBulkCreatePayload2ᚖgithub return ec._VendorRiskScoreBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorRiskScoreBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorRiskScoreBulkDeletePayload) graphql.Marshaler { - return ec._VendorRiskScoreBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScoreBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorRiskScoreBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNVendorRiskScoreBulkDeletePayload2ᚖgithub return ec._VendorRiskScoreBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorRiskScoreBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorRiskScoreBulkUpdatePayload) graphql.Marshaler { - return ec._VendorRiskScoreBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScoreBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorRiskScoreBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNVendorRiskScoreBulkUpdatePayload2ᚖgithub return ec._VendorRiskScoreBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorRiskScoreCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorRiskScoreCreatePayload) graphql.Marshaler { - return ec._VendorRiskScoreCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScoreCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorRiskScoreCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNVendorRiskScoreCreatePayload2ᚖgithubᚗcom return ec._VendorRiskScoreCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorRiskScoreDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorRiskScoreDeletePayload) graphql.Marshaler { - return ec._VendorRiskScoreDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScoreDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorRiskScoreDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNVendorRiskScoreDeletePayload2ᚖgithubᚗcom return ec._VendorRiskScoreDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorRiskScoreUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorRiskScoreUpdatePayload) graphql.Marshaler { - return ec._VendorRiskScoreUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScoreUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorRiskScoreUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorRiskScoreUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/vendorscoringconfig.generated.go b/internal/graphapi/generated/vendorscoringconfig.generated.go index 082b0917ee..d1ae71ca35 100644 --- a/internal/graphapi/generated/vendorscoringconfig.generated.go +++ b/internal/graphapi/generated/vendorscoringconfig.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _VendorScoringConfigUpdatePayload(ctx context.Contex // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNVendorScoringConfigBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorScoringConfigBulkCreatePayload) graphql.Marshaler { - return ec._VendorScoringConfigBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfigBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorScoringConfigBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNVendorScoringConfigBulkCreatePayload2ᚖgith return ec._VendorScoringConfigBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorScoringConfigBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorScoringConfigBulkDeletePayload) graphql.Marshaler { - return ec._VendorScoringConfigBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfigBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorScoringConfigBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNVendorScoringConfigBulkDeletePayload2ᚖgith return ec._VendorScoringConfigBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorScoringConfigBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorScoringConfigBulkUpdatePayload) graphql.Marshaler { - return ec._VendorScoringConfigBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfigBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorScoringConfigBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNVendorScoringConfigBulkUpdatePayload2ᚖgith return ec._VendorScoringConfigBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorScoringConfigCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorScoringConfigCreatePayload) graphql.Marshaler { - return ec._VendorScoringConfigCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfigCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorScoringConfigCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNVendorScoringConfigCreatePayload2ᚖgithub return ec._VendorScoringConfigCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorScoringConfigDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorScoringConfigDeletePayload) graphql.Marshaler { - return ec._VendorScoringConfigDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfigDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorScoringConfigDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNVendorScoringConfigDeletePayload2ᚖgithub return ec._VendorScoringConfigDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVendorScoringConfigUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.VendorScoringConfigUpdatePayload) graphql.Marshaler { - return ec._VendorScoringConfigUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfigUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVendorScoringConfigUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VendorScoringConfigUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/vulnerability.generated.go b/internal/graphapi/generated/vulnerability.generated.go index cff55797e3..48d9428bc7 100644 --- a/internal/graphapi/generated/vulnerability.generated.go +++ b/internal/graphapi/generated/vulnerability.generated.go @@ -583,10 +583,6 @@ func (ec *executionContext) _VulnerabilityUpdatePayload(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNVulnerabilityBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.VulnerabilityBulkCreatePayload) graphql.Marshaler { - return ec._VulnerabilityBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VulnerabilityBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -597,10 +593,6 @@ func (ec *executionContext) marshalNVulnerabilityBulkCreatePayload2ᚖgithubᚗc return ec._VulnerabilityBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVulnerabilityBulkDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.VulnerabilityBulkDeletePayload) graphql.Marshaler { - return ec._VulnerabilityBulkDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityBulkDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityBulkDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.VulnerabilityBulkDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -611,10 +603,6 @@ func (ec *executionContext) marshalNVulnerabilityBulkDeletePayload2ᚖgithubᚗc return ec._VulnerabilityBulkDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVulnerabilityBulkUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.VulnerabilityBulkUpdatePayload) graphql.Marshaler { - return ec._VulnerabilityBulkUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityBulkUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityBulkUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VulnerabilityBulkUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -625,10 +613,6 @@ func (ec *executionContext) marshalNVulnerabilityBulkUpdatePayload2ᚖgithubᚗc return ec._VulnerabilityBulkUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVulnerabilityCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.VulnerabilityCreatePayload) graphql.Marshaler { - return ec._VulnerabilityCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VulnerabilityCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -639,10 +623,6 @@ func (ec *executionContext) marshalNVulnerabilityCreatePayload2ᚖgithubᚗcom return ec._VulnerabilityCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVulnerabilityDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.VulnerabilityDeletePayload) graphql.Marshaler { - return ec._VulnerabilityDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.VulnerabilityDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -653,10 +633,6 @@ func (ec *executionContext) marshalNVulnerabilityDeletePayload2ᚖgithubᚗcom return ec._VulnerabilityDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNVulnerabilityUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.VulnerabilityUpdatePayload) graphql.Marshaler { - return ec._VulnerabilityUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.VulnerabilityUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/vulnerability_extended.generated.go b/internal/graphapi/generated/vulnerability_extended.generated.go index bdf179b40b..38d32d5fa8 100644 --- a/internal/graphapi/generated/vulnerability_extended.generated.go +++ b/internal/graphapi/generated/vulnerability_extended.generated.go @@ -228,10 +228,6 @@ func (ec *executionContext) unmarshalNResolveVulnerabilityInput2githubᚗcomᚋt return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNVulnerabilityResolvePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityResolvePayload(ctx context.Context, sel ast.SelectionSet, v model.VulnerabilityResolvePayload) graphql.Marshaler { - return ec._VulnerabilityResolvePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityResolvePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilityResolvePayload(ctx context.Context, sel ast.SelectionSet, v *model.VulnerabilityResolvePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/vulnerability_summary.generated.go b/internal/graphapi/generated/vulnerability_summary.generated.go index ed99293c73..0d911d0488 100644 --- a/internal/graphapi/generated/vulnerability_summary.generated.go +++ b/internal/graphapi/generated/vulnerability_summary.generated.go @@ -301,10 +301,6 @@ func (ec *executionContext) _VulnerabilitySummaryBucket(ctx context.Context, sel // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNVulnerabilitySummary2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilitySummary(ctx context.Context, sel ast.SelectionSet, v model.VulnerabilitySummary) graphql.Marshaler { - return ec._VulnerabilitySummary(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilitySummary2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐVulnerabilitySummary(ctx context.Context, sel ast.SelectionSet, v *model.VulnerabilitySummary) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/webauthn.generated.go b/internal/graphapi/generated/webauthn.generated.go index 2a547c865e..3d64d9872c 100644 --- a/internal/graphapi/generated/webauthn.generated.go +++ b/internal/graphapi/generated/webauthn.generated.go @@ -101,10 +101,6 @@ func (ec *executionContext) _WebauthnDeletePayload(ctx context.Context, sel ast. // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNWebauthnDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWebauthnDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.WebauthnDeletePayload) graphql.Marshaler { - return ec._WebauthnDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWebauthnDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWebauthnDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.WebauthnDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/workflowadmin.generated.go b/internal/graphapi/generated/workflowadmin.generated.go index 4d11e2abf3..5d32050e3a 100644 --- a/internal/graphapi/generated/workflowadmin.generated.go +++ b/internal/graphapi/generated/workflowadmin.generated.go @@ -328,10 +328,6 @@ func (ec *executionContext) unmarshalNReassignWorkflowAssignmentInput2githubᚗc return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNWorkflowAssignmentReassignPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowAssignmentReassignPayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowAssignmentReassignPayload) graphql.Marshaler { - return ec._WorkflowAssignmentReassignPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignmentReassignPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowAssignmentReassignPayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowAssignmentReassignPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -361,10 +357,6 @@ func (ec *executionContext) unmarshalNWorkflowAssignmentTargetInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNWorkflowInstanceAdminPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowInstanceAdminPayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowInstanceAdminPayload) graphql.Marshaler { - return ec._WorkflowInstanceAdminPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowInstanceAdminPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowInstanceAdminPayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowInstanceAdminPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -375,10 +367,6 @@ func (ec *executionContext) marshalNWorkflowInstanceAdminPayload2ᚖgithubᚗcom return ec._WorkflowInstanceAdminPayload(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowInstanceBulkAdminPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowInstanceBulkAdminPayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowInstanceBulkAdminPayload) graphql.Marshaler { - return ec._WorkflowInstanceBulkAdminPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowInstanceBulkAdminPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowInstanceBulkAdminPayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowInstanceBulkAdminPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/workflowassignmentextended.generated.go b/internal/graphapi/generated/workflowassignmentextended.generated.go index 6be26050eb..8c74630faf 100644 --- a/internal/graphapi/generated/workflowassignmentextended.generated.go +++ b/internal/graphapi/generated/workflowassignmentextended.generated.go @@ -180,10 +180,6 @@ func (ec *executionContext) _WorkflowAssignmentRejectPayload(ctx context.Context // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNWorkflowAssignmentApprovePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowAssignmentApprovePayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowAssignmentApprovePayload) graphql.Marshaler { - return ec._WorkflowAssignmentApprovePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignmentApprovePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowAssignmentApprovePayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowAssignmentApprovePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194,10 +190,6 @@ func (ec *executionContext) marshalNWorkflowAssignmentApprovePayload2ᚖgithub return ec._WorkflowAssignmentApprovePayload(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowAssignmentRejectPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowAssignmentRejectPayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowAssignmentRejectPayload) graphql.Marshaler { - return ec._WorkflowAssignmentRejectPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignmentRejectPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowAssignmentRejectPayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowAssignmentRejectPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/workflowdefinition.generated.go b/internal/graphapi/generated/workflowdefinition.generated.go index 7b7c9ba1a2..401152a439 100644 --- a/internal/graphapi/generated/workflowdefinition.generated.go +++ b/internal/graphapi/generated/workflowdefinition.generated.go @@ -312,10 +312,6 @@ func (ec *executionContext) _WorkflowDefinitionUpdatePayload(ctx context.Context // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNWorkflowDefinitionBulkCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowDefinitionBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowDefinitionBulkCreatePayload) graphql.Marshaler { - return ec._WorkflowDefinitionBulkCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowDefinitionBulkCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowDefinitionBulkCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowDefinitionBulkCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -326,10 +322,6 @@ func (ec *executionContext) marshalNWorkflowDefinitionBulkCreatePayload2ᚖgithu return ec._WorkflowDefinitionBulkCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowDefinitionCreatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowDefinitionCreatePayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowDefinitionCreatePayload) graphql.Marshaler { - return ec._WorkflowDefinitionCreatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowDefinitionCreatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowDefinitionCreatePayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowDefinitionCreatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -340,10 +332,6 @@ func (ec *executionContext) marshalNWorkflowDefinitionCreatePayload2ᚖgithubᚗ return ec._WorkflowDefinitionCreatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowDefinitionDeletePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowDefinitionDeletePayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowDefinitionDeletePayload) graphql.Marshaler { - return ec._WorkflowDefinitionDeletePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowDefinitionDeletePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowDefinitionDeletePayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowDefinitionDeletePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -354,10 +342,6 @@ func (ec *executionContext) marshalNWorkflowDefinitionDeletePayload2ᚖgithubᚗ return ec._WorkflowDefinitionDeletePayload(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowDefinitionUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowDefinitionUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowDefinitionUpdatePayload) graphql.Marshaler { - return ec._WorkflowDefinitionUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowDefinitionUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowDefinitionUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowDefinitionUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/workflowdefinitionextended.generated.go b/internal/graphapi/generated/workflowdefinitionextended.generated.go index 1be6583bc2..2f3dbb77b6 100644 --- a/internal/graphapi/generated/workflowdefinitionextended.generated.go +++ b/internal/graphapi/generated/workflowdefinitionextended.generated.go @@ -491,10 +491,6 @@ func (ec *executionContext) marshalNWorkflowFieldMetadata2ᚖgithubᚗcomᚋtheo return ec._WorkflowFieldMetadata(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowMetadata2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowMetadata(ctx context.Context, sel ast.SelectionSet, v model.WorkflowMetadata) graphql.Marshaler { - return ec._WorkflowMetadata(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowMetadata2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowMetadata(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowMetadata) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/generated/workflowproposalextended.generated.go b/internal/graphapi/generated/workflowproposalextended.generated.go index 11aad30763..9ffe814b96 100644 --- a/internal/graphapi/generated/workflowproposalextended.generated.go +++ b/internal/graphapi/generated/workflowproposalextended.generated.go @@ -292,10 +292,6 @@ func (ec *executionContext) unmarshalNUpdateWorkflowProposalChangesInput2github return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNWorkflowProposalSubmitPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowProposalSubmitPayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowProposalSubmitPayload) graphql.Marshaler { - return ec._WorkflowProposalSubmitPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowProposalSubmitPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowProposalSubmitPayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowProposalSubmitPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -306,10 +302,6 @@ func (ec *executionContext) marshalNWorkflowProposalSubmitPayload2ᚖgithubᚗco return ec._WorkflowProposalSubmitPayload(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowProposalUpdatePayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowProposalUpdatePayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowProposalUpdatePayload) graphql.Marshaler { - return ec._WorkflowProposalUpdatePayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowProposalUpdatePayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowProposalUpdatePayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowProposalUpdatePayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -320,10 +312,6 @@ func (ec *executionContext) marshalNWorkflowProposalUpdatePayload2ᚖgithubᚗco return ec._WorkflowProposalUpdatePayload(ctx, sel, v) } -func (ec *executionContext) marshalNWorkflowProposalWithdrawPayload2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowProposalWithdrawPayload(ctx context.Context, sel ast.SelectionSet, v model.WorkflowProposalWithdrawPayload) graphql.Marshaler { - return ec._WorkflowProposalWithdrawPayload(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowProposalWithdrawPayload2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋgraphapiᚋmodelᚐWorkflowProposalWithdrawPayload(ctx context.Context, sel ast.SelectionSet, v *model.WorkflowProposalWithdrawPayload) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/historygenerated/ent.generated.go b/internal/graphapi/historygenerated/ent.generated.go index 314df87660..c233f9ab7c 100644 --- a/internal/graphapi/historygenerated/ent.generated.go +++ b/internal/graphapi/historygenerated/ent.generated.go @@ -192239,10 +192239,6 @@ func (ec *executionContext) _WorkflowDefinitionHistoryEdge(ctx context.Context, // region ***************************** type.gotpl ***************************** -func (ec *executionContext) marshalNActionPlanHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐActionPlanHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ActionPlanHistoryConnection) graphql.Marshaler { - return ec._ActionPlanHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNActionPlanHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐActionPlanHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ActionPlanHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192334,10 +192330,6 @@ func (ec *executionContext) marshalNAssessmentHistoryAssessmentType2githubᚗcom return v } -func (ec *executionContext) marshalNAssessmentHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐAssessmentHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.AssessmentHistoryConnection) graphql.Marshaler { - return ec._AssessmentHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐAssessmentHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.AssessmentHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192389,10 +192381,6 @@ func (ec *executionContext) marshalNAssessmentResponseHistoryAssessmentResponseS return v } -func (ec *executionContext) marshalNAssessmentResponseHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐAssessmentResponseHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.AssessmentResponseHistoryConnection) graphql.Marshaler { - return ec._AssessmentResponseHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssessmentResponseHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐAssessmentResponseHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.AssessmentResponseHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192444,10 +192432,6 @@ func (ec *executionContext) marshalNAssetHistoryAssetType2githubᚗcomᚋtheopen return v } -func (ec *executionContext) marshalNAssetHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐAssetHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.AssetHistoryConnection) graphql.Marshaler { - return ec._AssetHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNAssetHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐAssetHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.AssetHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192519,10 +192503,6 @@ func (ec *executionContext) marshalNCampaignHistoryCampaignType2githubᚗcomᚋt return v } -func (ec *executionContext) marshalNCampaignHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐCampaignHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.CampaignHistoryConnection) graphql.Marshaler { - return ec._CampaignHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐCampaignHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.CampaignHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192584,10 +192564,6 @@ func (ec *executionContext) marshalNCampaignTargetHistoryAssessmentResponseStatu return v } -func (ec *executionContext) marshalNCampaignTargetHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐCampaignTargetHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.CampaignTargetHistoryConnection) graphql.Marshaler { - return ec._CampaignTargetHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNCampaignTargetHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐCampaignTargetHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.CampaignTargetHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192629,10 +192605,6 @@ func (ec *executionContext) unmarshalNCampaignTargetHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNContactHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐContactHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ContactHistoryConnection) graphql.Marshaler { - return ec._ContactHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNContactHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐContactHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ContactHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192684,10 +192656,6 @@ func (ec *executionContext) unmarshalNContactHistoryWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNControlHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐControlHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ControlHistoryConnection) graphql.Marshaler { - return ec._ControlHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐControlHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ControlHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192769,10 +192737,6 @@ func (ec *executionContext) unmarshalNControlHistoryWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNControlImplementationHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐControlImplementationHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ControlImplementationHistoryConnection) graphql.Marshaler { - return ec._ControlImplementationHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlImplementationHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐControlImplementationHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ControlImplementationHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192824,10 +192788,6 @@ func (ec *executionContext) unmarshalNControlImplementationHistoryWhereInput2ᚖ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNControlObjectiveHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐControlObjectiveHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ControlObjectiveHistoryConnection) graphql.Marshaler { - return ec._ControlObjectiveHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNControlObjectiveHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐControlObjectiveHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ControlObjectiveHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192899,10 +192859,6 @@ func (ec *executionContext) marshalNCursor2entgoᚗioᚋcontribᚋentgqlᚐCurso return v } -func (ec *executionContext) marshalNCustomDomainHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐCustomDomainHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.CustomDomainHistoryConnection) graphql.Marshaler { - return ec._CustomDomainHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNCustomDomainHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐCustomDomainHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.CustomDomainHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192954,10 +192910,6 @@ func (ec *executionContext) unmarshalNCustomDomainHistoryWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDiscussionHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐDiscussionHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.DiscussionHistoryConnection) graphql.Marshaler { - return ec._DiscussionHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDiscussionHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐDiscussionHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.DiscussionHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -192999,10 +192951,6 @@ func (ec *executionContext) unmarshalNDiscussionHistoryWhereInput2ᚖgithubᚗco return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNDocumentDataHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐDocumentDataHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.DocumentDataHistoryConnection) graphql.Marshaler { - return ec._DocumentDataHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNDocumentDataHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐDocumentDataHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.DocumentDataHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193044,10 +192992,6 @@ func (ec *executionContext) unmarshalNDocumentDataHistoryWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEmailTemplateHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐEmailTemplateHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.EmailTemplateHistoryConnection) graphql.Marshaler { - return ec._EmailTemplateHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEmailTemplateHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐEmailTemplateHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.EmailTemplateHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193109,10 +193053,6 @@ func (ec *executionContext) unmarshalNEmailTemplateHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEntityHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐEntityHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.EntityHistoryConnection) graphql.Marshaler { - return ec._EntityHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐEntityHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.EntityHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193184,10 +193124,6 @@ func (ec *executionContext) unmarshalNEntityHistoryWhereInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEntityTypeHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐEntityTypeHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.EntityTypeHistoryConnection) graphql.Marshaler { - return ec._EntityTypeHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEntityTypeHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐEntityTypeHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.EntityTypeHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193229,10 +193165,6 @@ func (ec *executionContext) unmarshalNEntityTypeHistoryWhereInput2ᚖgithubᚗco return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNEvidenceHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐEvidenceHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.EvidenceHistoryConnection) graphql.Marshaler { - return ec._EvidenceHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNEvidenceHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐEvidenceHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.EvidenceHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193294,10 +193226,6 @@ func (ec *executionContext) unmarshalNEvidenceHistoryWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNFileHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐFileHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.FileHistoryConnection) graphql.Marshaler { - return ec._FileHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNFileHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐFileHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.FileHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193339,10 +193267,6 @@ func (ec *executionContext) unmarshalNFileHistoryWhereInput2ᚖgithubᚗcomᚋth return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNFindingControlHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐFindingControlHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.FindingControlHistoryConnection) graphql.Marshaler { - return ec._FindingControlHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingControlHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐFindingControlHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.FindingControlHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193384,10 +193308,6 @@ func (ec *executionContext) unmarshalNFindingControlHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNFindingHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐFindingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.FindingHistoryConnection) graphql.Marshaler { - return ec._FindingHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNFindingHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐFindingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.FindingHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193439,10 +193359,6 @@ func (ec *executionContext) unmarshalNFindingHistoryWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNGroupHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐGroupHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.GroupHistoryConnection) graphql.Marshaler { - return ec._GroupHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐGroupHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.GroupHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193484,10 +193400,6 @@ func (ec *executionContext) unmarshalNGroupHistoryWhereInput2ᚖgithubᚗcomᚋt return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNGroupMembershipHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐGroupMembershipHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.GroupMembershipHistoryConnection) graphql.Marshaler { - return ec._GroupMembershipHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupMembershipHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐGroupMembershipHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.GroupMembershipHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193539,10 +193451,6 @@ func (ec *executionContext) unmarshalNGroupMembershipHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNGroupSettingHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐGroupSettingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.GroupSettingHistoryConnection) graphql.Marshaler { - return ec._GroupSettingHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNGroupSettingHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐGroupSettingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.GroupSettingHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193604,10 +193512,6 @@ func (ec *executionContext) unmarshalNGroupSettingHistoryWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNHushHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐHushHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.HushHistoryConnection) graphql.Marshaler { - return ec._HushHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNHushHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐHushHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.HushHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193649,10 +193553,6 @@ func (ec *executionContext) unmarshalNHushHistoryWhereInput2ᚖgithubᚗcomᚋth return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNIdentityHolderHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐIdentityHolderHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.IdentityHolderHistoryConnection) graphql.Marshaler { - return ec._IdentityHolderHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNIdentityHolderHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐIdentityHolderHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.IdentityHolderHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193714,10 +193614,6 @@ func (ec *executionContext) unmarshalNIdentityHolderHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNInternalPolicyHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐInternalPolicyHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.InternalPolicyHistoryConnection) graphql.Marshaler { - return ec._InternalPolicyHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNInternalPolicyHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐInternalPolicyHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.InternalPolicyHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193811,10 +193707,6 @@ func (ec *executionContext) marshalNMap2map(ctx context.Context, sel ast.Selecti return res } -func (ec *executionContext) marshalNMappableDomainHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐMappableDomainHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.MappableDomainHistoryConnection) graphql.Marshaler { - return ec._MappableDomainHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappableDomainHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐMappableDomainHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.MappableDomainHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193856,10 +193748,6 @@ func (ec *executionContext) unmarshalNMappableDomainHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNMappedControlHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐMappedControlHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.MappedControlHistoryConnection) graphql.Marshaler { - return ec._MappedControlHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNMappedControlHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐMappedControlHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.MappedControlHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193921,10 +193809,6 @@ func (ec *executionContext) unmarshalNMappedControlHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNNarrativeHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐNarrativeHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.NarrativeHistoryConnection) graphql.Marshaler { - return ec._NarrativeHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNNarrativeHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐNarrativeHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.NarrativeHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -193976,10 +193860,6 @@ func (ec *executionContext) marshalNNode2ᚕgithubᚗcomᚋtheopenlaneᚋcoreᚋ return ret } -func (ec *executionContext) marshalNNoteHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐNoteHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.NoteHistoryConnection) graphql.Marshaler { - return ec._NoteHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNNoteHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐNoteHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.NoteHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194031,10 +193911,6 @@ func (ec *executionContext) marshalNNotificationPreferenceHistoryChannel2github return v } -func (ec *executionContext) marshalNNotificationPreferenceHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐNotificationPreferenceHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.NotificationPreferenceHistoryConnection) graphql.Marshaler { - return ec._NotificationPreferenceHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationPreferenceHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐNotificationPreferenceHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.NotificationPreferenceHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194116,10 +193992,6 @@ func (ec *executionContext) marshalNNotificationTemplateHistoryChannel2githubᚗ return v } -func (ec *executionContext) marshalNNotificationTemplateHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐNotificationTemplateHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.NotificationTemplateHistoryConnection) graphql.Marshaler { - return ec._NotificationTemplateHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNNotificationTemplateHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐNotificationTemplateHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.NotificationTemplateHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194191,10 +194063,6 @@ func (ec *executionContext) marshalNOrderDirection2entgoᚗioᚋcontribᚋentgql return v } -func (ec *executionContext) marshalNOrgMembershipHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐOrgMembershipHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.OrgMembershipHistoryConnection) graphql.Marshaler { - return ec._OrgMembershipHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrgMembershipHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐOrgMembershipHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.OrgMembershipHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194246,10 +194114,6 @@ func (ec *executionContext) unmarshalNOrgMembershipHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNOrganizationHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐOrganizationHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.OrganizationHistoryConnection) graphql.Marshaler { - return ec._OrganizationHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐOrganizationHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.OrganizationHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194291,10 +194155,6 @@ func (ec *executionContext) unmarshalNOrganizationHistoryWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNOrganizationSettingHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐOrganizationSettingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.OrganizationSettingHistoryConnection) graphql.Marshaler { - return ec._OrganizationSettingHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNOrganizationSettingHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐOrganizationSettingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.OrganizationSettingHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194360,10 +194220,6 @@ func (ec *executionContext) marshalNPageInfo2entgoᚗioᚋcontribᚋentgqlᚐPag return ec._PageInfo(ctx, sel, &v) } -func (ec *executionContext) marshalNPlatformHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐPlatformHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.PlatformHistoryConnection) graphql.Marshaler { - return ec._PlatformHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNPlatformHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐPlatformHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.PlatformHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194425,10 +194281,6 @@ func (ec *executionContext) unmarshalNPlatformHistoryWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNProcedureHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐProcedureHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ProcedureHistoryConnection) graphql.Marshaler { - return ec._ProcedureHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNProcedureHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐProcedureHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ProcedureHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194500,10 +194352,6 @@ func (ec *executionContext) unmarshalNProcedureHistoryWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNProgramHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐProgramHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ProgramHistoryConnection) graphql.Marshaler { - return ec._ProgramHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐProgramHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ProgramHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194555,10 +194403,6 @@ func (ec *executionContext) unmarshalNProgramHistoryWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNProgramMembershipHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐProgramMembershipHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ProgramMembershipHistoryConnection) graphql.Marshaler { - return ec._ProgramMembershipHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNProgramMembershipHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐProgramMembershipHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ProgramMembershipHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194610,10 +194454,6 @@ func (ec *executionContext) unmarshalNProgramMembershipHistoryWhereInput2ᚖgith return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNRemediationHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐRemediationHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.RemediationHistoryConnection) graphql.Marshaler { - return ec._RemediationHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNRemediationHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐRemediationHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.RemediationHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194665,10 +194505,6 @@ func (ec *executionContext) unmarshalNRemediationHistoryWhereInput2ᚖgithubᚗc return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNReviewHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐReviewHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.ReviewHistoryConnection) graphql.Marshaler { - return ec._ReviewHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNReviewHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐReviewHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.ReviewHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194720,10 +194556,6 @@ func (ec *executionContext) unmarshalNReviewHistoryWhereInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNRiskHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐRiskHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.RiskHistoryConnection) graphql.Marshaler { - return ec._RiskHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNRiskHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐRiskHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.RiskHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194815,10 +194647,6 @@ func (ec *executionContext) unmarshalNRiskHistoryWhereInput2ᚖgithubᚗcomᚋth return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSLADefinitionHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐSLADefinitionHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.SLADefinitionHistoryConnection) graphql.Marshaler { - return ec._SLADefinitionHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSLADefinitionHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐSLADefinitionHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.SLADefinitionHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194870,10 +194698,6 @@ func (ec *executionContext) unmarshalNSLADefinitionHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNStandardHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐStandardHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.StandardHistoryConnection) graphql.Marshaler { - return ec._StandardHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNStandardHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐStandardHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.StandardHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -194925,10 +194749,6 @@ func (ec *executionContext) unmarshalNStandardHistoryWhereInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSubcontrolHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐSubcontrolHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.SubcontrolHistoryConnection) graphql.Marshaler { - return ec._SubcontrolHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubcontrolHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐSubcontrolHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.SubcontrolHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195000,10 +194820,6 @@ func (ec *executionContext) unmarshalNSubcontrolHistoryWhereInput2ᚖgithubᚗco return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSubprocessorHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐSubprocessorHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.SubprocessorHistoryConnection) graphql.Marshaler { - return ec._SubprocessorHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSubprocessorHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐSubprocessorHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.SubprocessorHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195045,10 +194861,6 @@ func (ec *executionContext) unmarshalNSubprocessorHistoryWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNSystemDetailHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐSystemDetailHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.SystemDetailHistoryConnection) graphql.Marshaler { - return ec._SystemDetailHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNSystemDetailHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐSystemDetailHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.SystemDetailHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195100,10 +194912,6 @@ func (ec *executionContext) unmarshalNSystemDetailHistoryWhereInput2ᚖgithubᚗ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTaskHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTaskHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TaskHistoryConnection) graphql.Marshaler { - return ec._TaskHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTaskHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTaskHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TaskHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195155,10 +194963,6 @@ func (ec *executionContext) unmarshalNTaskHistoryWhereInput2ᚖgithubᚗcomᚋth return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTemplateHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTemplateHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TemplateHistoryConnection) graphql.Marshaler { - return ec._TemplateHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTemplateHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTemplateHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TemplateHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195236,10 +195040,6 @@ func (ec *executionContext) marshalNTime2timeᚐTime(ctx context.Context, sel as return res } -func (ec *executionContext) marshalNTrustCenterComplianceHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterComplianceHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterComplianceHistoryConnection) graphql.Marshaler { - return ec._TrustCenterComplianceHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterComplianceHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterComplianceHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterComplianceHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195281,10 +195081,6 @@ func (ec *executionContext) unmarshalNTrustCenterComplianceHistoryWhereInput2ᚖ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterDocHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterDocHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterDocHistoryConnection) graphql.Marshaler { - return ec._TrustCenterDocHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterDocHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterDocHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterDocHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195346,10 +195142,6 @@ func (ec *executionContext) unmarshalNTrustCenterDocHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterEntityHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterEntityHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterEntityHistoryConnection) graphql.Marshaler { - return ec._TrustCenterEntityHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterEntityHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterEntityHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterEntityHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195391,10 +195183,6 @@ func (ec *executionContext) unmarshalNTrustCenterEntityHistoryWhereInput2ᚖgith return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterFAQHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterFAQHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterFAQHistoryConnection) graphql.Marshaler { - return ec._TrustCenterFAQHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterFAQHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterFAQHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterFAQHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195436,10 +195224,6 @@ func (ec *executionContext) unmarshalNTrustCenterFAQHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterHistoryConnection) graphql.Marshaler { - return ec._TrustCenterHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195491,10 +195275,6 @@ func (ec *executionContext) unmarshalNTrustCenterHistoryWhereInput2ᚖgithubᚗc return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterNDARequestHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterNDARequestHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterNDARequestHistoryConnection) graphql.Marshaler { - return ec._TrustCenterNDARequestHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterNDARequestHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterNDARequestHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterNDARequestHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195556,10 +195336,6 @@ func (ec *executionContext) unmarshalNTrustCenterNDARequestHistoryWhereInput2ᚖ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterSettingHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterSettingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterSettingHistoryConnection) graphql.Marshaler { - return ec._TrustCenterSettingHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSettingHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterSettingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterSettingHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195621,10 +195397,6 @@ func (ec *executionContext) unmarshalNTrustCenterSettingHistoryWhereInput2ᚖgit return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterSubprocessorHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterSubprocessorHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterSubprocessorHistoryConnection) graphql.Marshaler { - return ec._TrustCenterSubprocessorHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterSubprocessorHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterSubprocessorHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterSubprocessorHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195666,10 +195438,6 @@ func (ec *executionContext) unmarshalNTrustCenterSubprocessorHistoryWhereInput2 return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTrustCenterWatermarkConfigHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterWatermarkConfigHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.TrustCenterWatermarkConfigHistoryConnection) graphql.Marshaler { - return ec._TrustCenterWatermarkConfigHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNTrustCenterWatermarkConfigHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐTrustCenterWatermarkConfigHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.TrustCenterWatermarkConfigHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195731,10 +195499,6 @@ func (ec *executionContext) marshalNUserHistoryAuthProvider2githubᚗcomᚋtheop return v } -func (ec *executionContext) marshalNUserHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐUserHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.UserHistoryConnection) graphql.Marshaler { - return ec._UserHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐUserHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.UserHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195786,10 +195550,6 @@ func (ec *executionContext) unmarshalNUserHistoryWhereInput2ᚖgithubᚗcomᚋth return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNUserSettingHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐUserSettingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.UserSettingHistoryConnection) graphql.Marshaler { - return ec._UserSettingHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNUserSettingHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐUserSettingHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.UserSettingHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195841,10 +195601,6 @@ func (ec *executionContext) unmarshalNUserSettingHistoryWhereInput2ᚖgithubᚗc return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNVendorRiskScoreHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐVendorRiskScoreHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.VendorRiskScoreHistoryConnection) graphql.Marshaler { - return ec._VendorRiskScoreHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorRiskScoreHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐVendorRiskScoreHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.VendorRiskScoreHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195926,10 +195682,6 @@ func (ec *executionContext) unmarshalNVendorRiskScoreHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNVendorScoringConfigHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐVendorScoringConfigHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.VendorScoringConfigHistoryConnection) graphql.Marshaler { - return ec._VendorScoringConfigHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNVendorScoringConfigHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐVendorScoringConfigHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.VendorScoringConfigHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -195981,10 +195733,6 @@ func (ec *executionContext) unmarshalNVendorScoringConfigHistoryWhereInput2ᚖgi return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNVulnerabilityHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐVulnerabilityHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.VulnerabilityHistoryConnection) graphql.Marshaler { - return ec._VulnerabilityHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNVulnerabilityHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐVulnerabilityHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.VulnerabilityHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -196036,10 +195784,6 @@ func (ec *executionContext) unmarshalNVulnerabilityHistoryWhereInput2ᚖgithub return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNWorkflowAssignmentHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐWorkflowAssignmentHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.WorkflowAssignmentHistoryConnection) graphql.Marshaler { - return ec._WorkflowAssignmentHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignmentHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐWorkflowAssignmentHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.WorkflowAssignmentHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -196091,10 +195835,6 @@ func (ec *executionContext) marshalNWorkflowAssignmentHistoryWorkflowAssignmentS return v } -func (ec *executionContext) marshalNWorkflowAssignmentTargetHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐWorkflowAssignmentTargetHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.WorkflowAssignmentTargetHistoryConnection) graphql.Marshaler { - return ec._WorkflowAssignmentTargetHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowAssignmentTargetHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐWorkflowAssignmentTargetHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.WorkflowAssignmentTargetHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -196146,10 +195886,6 @@ func (ec *executionContext) marshalNWorkflowAssignmentTargetHistoryWorkflowTarge return v } -func (ec *executionContext) marshalNWorkflowDefinitionHistoryConnection2githubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐWorkflowDefinitionHistoryConnection(ctx context.Context, sel ast.SelectionSet, v historygenerated.WorkflowDefinitionHistoryConnection) graphql.Marshaler { - return ec._WorkflowDefinitionHistoryConnection(ctx, sel, &v) -} - func (ec *executionContext) marshalNWorkflowDefinitionHistoryConnection2ᚖgithubᚗcomᚋtheopenlaneᚋcoreᚋv2ᚋinternalᚋentᚋhistorygeneratedᚐWorkflowDefinitionHistoryConnection(ctx context.Context, sel ast.SelectionSet, v *historygenerated.WorkflowDefinitionHistoryConnection) graphql.Marshaler { if v == nil { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { diff --git a/internal/graphapi/historyschema/checksum/.history_schema_checksum b/internal/graphapi/historyschema/checksum/.history_schema_checksum index 8f7353bee2..9070929a92 100644 --- a/internal/graphapi/historyschema/checksum/.history_schema_checksum +++ b/internal/graphapi/historyschema/checksum/.history_schema_checksum @@ -1 +1 @@ -0ff32be5200a9057e925f057cada86d7dc5408b22ca8fc3ade8c62a20ed78e69 \ No newline at end of file +0476b055f68b2685eab3740d9439d7dd6fa7890b4f96fba8ef4c2e0243bb8c2a \ No newline at end of file diff --git a/internal/graphapi/model/gen_models.go b/internal/graphapi/model/gen_models.go index 5569de9e59..fd3c71a29f 100644 --- a/internal/graphapi/model/gen_models.go +++ b/internal/graphapi/model/gen_models.go @@ -4160,7 +4160,7 @@ func (e *ControlCategoryOrderField) UnmarshalGQL(v any) error { } func (e ControlCategoryOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ControlCategoryOrderField) UnmarshalJSON(b []byte) error { @@ -4227,7 +4227,7 @@ func (e *ControlReportOrderField) UnmarshalGQL(v any) error { } func (e ControlReportOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ControlReportOrderField) UnmarshalJSON(b []byte) error { @@ -4285,7 +4285,7 @@ func (e *GroupPermissionOrderField) UnmarshalGQL(v any) error { } func (e GroupPermissionOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *GroupPermissionOrderField) UnmarshalJSON(b []byte) error { diff --git a/internal/graphapi/testclient/models.go b/internal/graphapi/testclient/models.go index a66bea7b85..83a92d295a 100644 --- a/internal/graphapi/testclient/models.go +++ b/internal/graphapi/testclient/models.go @@ -46301,7 +46301,7 @@ func (e *APITokenOrderField) UnmarshalGQL(v any) error { } func (e APITokenOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *APITokenOrderField) UnmarshalJSON(b []byte) error { @@ -46377,7 +46377,7 @@ func (e *ActionPlanOrderField) UnmarshalGQL(v any) error { } func (e ActionPlanOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ActionPlanOrderField) UnmarshalJSON(b []byte) error { @@ -46439,7 +46439,7 @@ func (e *AssessmentOrderField) UnmarshalGQL(v any) error { } func (e AssessmentOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *AssessmentOrderField) UnmarshalJSON(b []byte) error { @@ -46525,7 +46525,7 @@ func (e *AssessmentResponseOrderField) UnmarshalGQL(v any) error { } func (e AssessmentResponseOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *AssessmentResponseOrderField) UnmarshalJSON(b []byte) error { @@ -46607,7 +46607,7 @@ func (e *AssetOrderField) UnmarshalGQL(v any) error { } func (e AssetOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *AssetOrderField) UnmarshalJSON(b []byte) error { @@ -46701,7 +46701,7 @@ func (e *CampaignOrderField) UnmarshalGQL(v any) error { } func (e CampaignOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *CampaignOrderField) UnmarshalJSON(b []byte) error { @@ -46767,7 +46767,7 @@ func (e *CampaignTargetOrderField) UnmarshalGQL(v any) error { } func (e CampaignTargetOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *CampaignTargetOrderField) UnmarshalJSON(b []byte) error { @@ -46829,7 +46829,7 @@ func (e *CheckResultOrderField) UnmarshalGQL(v any) error { } func (e CheckResultOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *CheckResultOrderField) UnmarshalJSON(b []byte) error { @@ -46899,7 +46899,7 @@ func (e *ContactOrderField) UnmarshalGQL(v any) error { } func (e ContactOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ContactOrderField) UnmarshalJSON(b []byte) error { @@ -46955,7 +46955,7 @@ func (e *ControlCategoryOrderField) UnmarshalGQL(v any) error { } func (e ControlCategoryOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ControlCategoryOrderField) UnmarshalJSON(b []byte) error { @@ -47019,7 +47019,7 @@ func (e *ControlImplementationOrderField) UnmarshalGQL(v any) error { } func (e ControlImplementationOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ControlImplementationOrderField) UnmarshalJSON(b []byte) error { @@ -47089,7 +47089,7 @@ func (e *ControlObjectiveOrderField) UnmarshalGQL(v any) error { } func (e ControlObjectiveOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ControlObjectiveOrderField) UnmarshalJSON(b []byte) error { @@ -47165,7 +47165,7 @@ func (e *ControlOrderField) UnmarshalGQL(v any) error { } func (e ControlOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ControlOrderField) UnmarshalJSON(b []byte) error { @@ -47232,7 +47232,7 @@ func (e *ControlReportOrderField) UnmarshalGQL(v any) error { } func (e ControlReportOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ControlReportOrderField) UnmarshalJSON(b []byte) error { @@ -47290,7 +47290,7 @@ func (e *CustomDomainOrderField) UnmarshalGQL(v any) error { } func (e CustomDomainOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *CustomDomainOrderField) UnmarshalJSON(b []byte) error { @@ -47352,7 +47352,7 @@ func (e *CustomTypeEnumOrderField) UnmarshalGQL(v any) error { } func (e CustomTypeEnumOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *CustomTypeEnumOrderField) UnmarshalJSON(b []byte) error { @@ -47408,7 +47408,7 @@ func (e *DNSVerificationOrderField) UnmarshalGQL(v any) error { } func (e DNSVerificationOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *DNSVerificationOrderField) UnmarshalJSON(b []byte) error { @@ -47474,7 +47474,7 @@ func (e *DirectoryAccountOrderField) UnmarshalGQL(v any) error { } func (e DirectoryAccountOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *DirectoryAccountOrderField) UnmarshalJSON(b []byte) error { @@ -47540,7 +47540,7 @@ func (e *DirectoryGroupOrderField) UnmarshalGQL(v any) error { } func (e DirectoryGroupOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *DirectoryGroupOrderField) UnmarshalJSON(b []byte) error { @@ -47598,7 +47598,7 @@ func (e *DirectoryMembershipOrderField) UnmarshalGQL(v any) error { } func (e DirectoryMembershipOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *DirectoryMembershipOrderField) UnmarshalJSON(b []byte) error { @@ -47656,7 +47656,7 @@ func (e *DirectorySyncRunOrderField) UnmarshalGQL(v any) error { } func (e DirectorySyncRunOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *DirectorySyncRunOrderField) UnmarshalJSON(b []byte) error { @@ -47712,7 +47712,7 @@ func (e *DiscussionOrderField) UnmarshalGQL(v any) error { } func (e DiscussionOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *DiscussionOrderField) UnmarshalJSON(b []byte) error { @@ -47768,7 +47768,7 @@ func (e *DocumentDataOrderField) UnmarshalGQL(v any) error { } func (e DocumentDataOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *DocumentDataOrderField) UnmarshalJSON(b []byte) error { @@ -47840,7 +47840,7 @@ func (e *EmailTemplateOrderField) UnmarshalGQL(v any) error { } func (e EmailTemplateOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *EmailTemplateOrderField) UnmarshalJSON(b []byte) error { @@ -47956,7 +47956,7 @@ func (e *EntityOrderField) UnmarshalGQL(v any) error { } func (e EntityOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *EntityOrderField) UnmarshalJSON(b []byte) error { @@ -48014,7 +48014,7 @@ func (e *EntityTypeOrderField) UnmarshalGQL(v any) error { } func (e EntityTypeOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *EntityTypeOrderField) UnmarshalJSON(b []byte) error { @@ -48070,7 +48070,7 @@ func (e *EventOrderField) UnmarshalGQL(v any) error { } func (e EventOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *EventOrderField) UnmarshalJSON(b []byte) error { @@ -48136,7 +48136,7 @@ func (e *EvidenceOrderField) UnmarshalGQL(v any) error { } func (e EvidenceOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *EvidenceOrderField) UnmarshalJSON(b []byte) error { @@ -48200,7 +48200,7 @@ func (e *ExportOrderField) UnmarshalGQL(v any) error { } func (e ExportOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ExportOrderField) UnmarshalJSON(b []byte) error { @@ -48258,7 +48258,7 @@ func (e *FileOrderField) UnmarshalGQL(v any) error { } func (e FileOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *FileOrderField) UnmarshalJSON(b []byte) error { @@ -48314,7 +48314,7 @@ func (e *FindingControlOrderField) UnmarshalGQL(v any) error { } func (e FindingControlOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *FindingControlOrderField) UnmarshalJSON(b []byte) error { @@ -48384,7 +48384,7 @@ func (e *FindingOrderField) UnmarshalGQL(v any) error { } func (e FindingOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *FindingOrderField) UnmarshalJSON(b []byte) error { @@ -48442,7 +48442,7 @@ func (e *GroupMembershipOrderField) UnmarshalGQL(v any) error { } func (e GroupMembershipOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *GroupMembershipOrderField) UnmarshalJSON(b []byte) error { @@ -48502,7 +48502,7 @@ func (e *GroupOrderField) UnmarshalGQL(v any) error { } func (e GroupOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *GroupOrderField) UnmarshalJSON(b []byte) error { @@ -48560,7 +48560,7 @@ func (e *GroupPermissionOrderField) UnmarshalGQL(v any) error { } func (e GroupPermissionOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *GroupPermissionOrderField) UnmarshalJSON(b []byte) error { @@ -48616,7 +48616,7 @@ func (e *GroupSettingOrderField) UnmarshalGQL(v any) error { } func (e GroupSettingOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *GroupSettingOrderField) UnmarshalJSON(b []byte) error { @@ -48680,7 +48680,7 @@ func (e *HushOrderField) UnmarshalGQL(v any) error { } func (e HushOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *HushOrderField) UnmarshalJSON(b []byte) error { @@ -48768,7 +48768,7 @@ func (e *IdentityHolderOrderField) UnmarshalGQL(v any) error { } func (e IdentityHolderOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *IdentityHolderOrderField) UnmarshalJSON(b []byte) error { @@ -48842,7 +48842,7 @@ func (e *IntegrationOrderField) UnmarshalGQL(v any) error { } func (e IntegrationOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *IntegrationOrderField) UnmarshalJSON(b []byte) error { @@ -48910,7 +48910,7 @@ func (e *InternalPolicyOrderField) UnmarshalGQL(v any) error { } func (e InternalPolicyOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *InternalPolicyOrderField) UnmarshalJSON(b []byte) error { @@ -48972,7 +48972,7 @@ func (e *InviteOrderField) UnmarshalGQL(v any) error { } func (e InviteOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *InviteOrderField) UnmarshalJSON(b []byte) error { @@ -49030,7 +49030,7 @@ func (e *MappableDomainOrderField) UnmarshalGQL(v any) error { } func (e MappableDomainOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *MappableDomainOrderField) UnmarshalJSON(b []byte) error { @@ -49090,7 +49090,7 @@ func (e *MappedControlOrderField) UnmarshalGQL(v any) error { } func (e MappedControlOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *MappedControlOrderField) UnmarshalJSON(b []byte) error { @@ -49148,7 +49148,7 @@ func (e *NarrativeOrderField) UnmarshalGQL(v any) error { } func (e NarrativeOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *NarrativeOrderField) UnmarshalJSON(b []byte) error { @@ -49204,7 +49204,7 @@ func (e *NoteOrderField) UnmarshalGQL(v any) error { } func (e NoteOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *NoteOrderField) UnmarshalJSON(b []byte) error { @@ -49260,7 +49260,7 @@ func (e *NotificationOrderField) UnmarshalGQL(v any) error { } func (e NotificationOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *NotificationOrderField) UnmarshalJSON(b []byte) error { @@ -49322,7 +49322,7 @@ func (e *NotificationPreferenceOrderField) UnmarshalGQL(v any) error { } func (e NotificationPreferenceOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *NotificationPreferenceOrderField) UnmarshalJSON(b []byte) error { @@ -49398,7 +49398,7 @@ func (e *NotificationTemplateOrderField) UnmarshalGQL(v any) error { } func (e NotificationTemplateOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *NotificationTemplateOrderField) UnmarshalJSON(b []byte) error { @@ -49456,7 +49456,7 @@ func (e *OrderDirection) UnmarshalGQL(v any) error { } func (e OrderDirection) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *OrderDirection) UnmarshalJSON(b []byte) error { @@ -49514,7 +49514,7 @@ func (e *OrgMembershipOrderField) UnmarshalGQL(v any) error { } func (e OrgMembershipOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *OrgMembershipOrderField) UnmarshalJSON(b []byte) error { @@ -49580,7 +49580,7 @@ func (e *OrgSubscriptionOrderField) UnmarshalGQL(v any) error { } func (e OrgSubscriptionOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *OrgSubscriptionOrderField) UnmarshalJSON(b []byte) error { @@ -49640,7 +49640,7 @@ func (e *OrganizationOrderField) UnmarshalGQL(v any) error { } func (e OrganizationOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *OrganizationOrderField) UnmarshalJSON(b []byte) error { @@ -49696,7 +49696,7 @@ func (e *OrganizationSettingOrderField) UnmarshalGQL(v any) error { } func (e OrganizationSettingOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *OrganizationSettingOrderField) UnmarshalJSON(b []byte) error { @@ -49760,7 +49760,7 @@ func (e *PersonalAccessTokenOrderField) UnmarshalGQL(v any) error { } func (e PersonalAccessTokenOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *PersonalAccessTokenOrderField) UnmarshalJSON(b []byte) error { @@ -49848,7 +49848,7 @@ func (e *PlatformOrderField) UnmarshalGQL(v any) error { } func (e PlatformOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *PlatformOrderField) UnmarshalJSON(b []byte) error { @@ -49916,7 +49916,7 @@ func (e *ProcedureOrderField) UnmarshalGQL(v any) error { } func (e ProcedureOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ProcedureOrderField) UnmarshalJSON(b []byte) error { @@ -49974,7 +49974,7 @@ func (e *ProgramMembershipOrderField) UnmarshalGQL(v any) error { } func (e ProgramMembershipOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ProgramMembershipOrderField) UnmarshalJSON(b []byte) error { @@ -50048,7 +50048,7 @@ func (e *ProgramOrderField) UnmarshalGQL(v any) error { } func (e ProgramOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ProgramOrderField) UnmarshalJSON(b []byte) error { @@ -50114,7 +50114,7 @@ func (e *RemediationOrderField) UnmarshalGQL(v any) error { } func (e RemediationOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *RemediationOrderField) UnmarshalJSON(b []byte) error { @@ -50178,7 +50178,7 @@ func (e *ReviewOrderField) UnmarshalGQL(v any) error { } func (e ReviewOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ReviewOrderField) UnmarshalJSON(b []byte) error { @@ -50266,7 +50266,7 @@ func (e *RiskOrderField) UnmarshalGQL(v any) error { } func (e RiskOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *RiskOrderField) UnmarshalJSON(b []byte) error { @@ -50326,7 +50326,7 @@ func (e *SLADefinitionOrderField) UnmarshalGQL(v any) error { } func (e SLADefinitionOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *SLADefinitionOrderField) UnmarshalJSON(b []byte) error { @@ -50390,7 +50390,7 @@ func (e *ScanOrderField) UnmarshalGQL(v any) error { } func (e ScanOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *ScanOrderField) UnmarshalJSON(b []byte) error { @@ -50460,7 +50460,7 @@ func (e *StandardOrderField) UnmarshalGQL(v any) error { } func (e StandardOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *StandardOrderField) UnmarshalJSON(b []byte) error { @@ -50536,7 +50536,7 @@ func (e *SubcontrolOrderField) UnmarshalGQL(v any) error { } func (e SubcontrolOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *SubcontrolOrderField) UnmarshalJSON(b []byte) error { @@ -50594,7 +50594,7 @@ func (e *SubprocessorOrderField) UnmarshalGQL(v any) error { } func (e SubprocessorOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *SubprocessorOrderField) UnmarshalJSON(b []byte) error { @@ -50658,7 +50658,7 @@ func (e *SubscriberOrderField) UnmarshalGQL(v any) error { } func (e SubscriberOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *SubscriberOrderField) UnmarshalJSON(b []byte) error { @@ -50716,7 +50716,7 @@ func (e *SystemDetailOrderField) UnmarshalGQL(v any) error { } func (e SystemDetailOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *SystemDetailOrderField) UnmarshalJSON(b []byte) error { @@ -50772,7 +50772,7 @@ func (e *TFASettingOrderField) UnmarshalGQL(v any) error { } func (e TFASettingOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TFASettingOrderField) UnmarshalJSON(b []byte) error { @@ -50832,7 +50832,7 @@ func (e *TagDefinitionOrderField) UnmarshalGQL(v any) error { } func (e TagDefinitionOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TagDefinitionOrderField) UnmarshalJSON(b []byte) error { @@ -50902,7 +50902,7 @@ func (e *TaskOrderField) UnmarshalGQL(v any) error { } func (e TaskOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TaskOrderField) UnmarshalJSON(b []byte) error { @@ -50964,7 +50964,7 @@ func (e *TemplateOrderField) UnmarshalGQL(v any) error { } func (e TemplateOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TemplateOrderField) UnmarshalJSON(b []byte) error { @@ -51020,7 +51020,7 @@ func (e *TrustCenterComplianceOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterComplianceOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterComplianceOrderField) UnmarshalJSON(b []byte) error { @@ -51076,7 +51076,7 @@ func (e *TrustCenterDocOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterDocOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterDocOrderField) UnmarshalJSON(b []byte) error { @@ -51134,7 +51134,7 @@ func (e *TrustCenterEntityOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterEntityOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterEntityOrderField) UnmarshalJSON(b []byte) error { @@ -51192,7 +51192,7 @@ func (e *TrustCenterFAQOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterFAQOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterFAQOrderField) UnmarshalJSON(b []byte) error { @@ -51248,7 +51248,7 @@ func (e *TrustCenterNDARequestOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterNDARequestOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterNDARequestOrderField) UnmarshalJSON(b []byte) error { @@ -51304,7 +51304,7 @@ func (e *TrustCenterOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterOrderField) UnmarshalJSON(b []byte) error { @@ -51360,7 +51360,7 @@ func (e *TrustCenterSettingOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterSettingOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterSettingOrderField) UnmarshalJSON(b []byte) error { @@ -51416,7 +51416,7 @@ func (e *TrustCenterSubprocessorOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterSubprocessorOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterSubprocessorOrderField) UnmarshalJSON(b []byte) error { @@ -51472,7 +51472,7 @@ func (e *TrustCenterWatermarkConfigOrderField) UnmarshalGQL(v any) error { } func (e TrustCenterWatermarkConfigOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *TrustCenterWatermarkConfigOrderField) UnmarshalJSON(b []byte) error { @@ -51534,7 +51534,7 @@ func (e *UserOrderField) UnmarshalGQL(v any) error { } func (e UserOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *UserOrderField) UnmarshalJSON(b []byte) error { @@ -51590,7 +51590,7 @@ func (e *UserSettingOrderField) UnmarshalGQL(v any) error { } func (e UserSettingOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *UserSettingOrderField) UnmarshalJSON(b []byte) error { @@ -51656,7 +51656,7 @@ func (e *VendorRiskScoreOrderField) UnmarshalGQL(v any) error { } func (e VendorRiskScoreOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *VendorRiskScoreOrderField) UnmarshalJSON(b []byte) error { @@ -51714,7 +51714,7 @@ func (e *VendorScoringConfigOrderField) UnmarshalGQL(v any) error { } func (e VendorScoringConfigOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *VendorScoringConfigOrderField) UnmarshalJSON(b []byte) error { @@ -51784,7 +51784,7 @@ func (e *VulnerabilityOrderField) UnmarshalGQL(v any) error { } func (e VulnerabilityOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *VulnerabilityOrderField) UnmarshalJSON(b []byte) error { @@ -51840,7 +51840,7 @@ func (e *WebauthnOrderField) UnmarshalGQL(v any) error { } func (e WebauthnOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *WebauthnOrderField) UnmarshalJSON(b []byte) error { @@ -51896,7 +51896,7 @@ func (e *WorkflowAssignmentOrderField) UnmarshalGQL(v any) error { } func (e WorkflowAssignmentOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *WorkflowAssignmentOrderField) UnmarshalJSON(b []byte) error { @@ -51952,7 +51952,7 @@ func (e *WorkflowAssignmentTargetOrderField) UnmarshalGQL(v any) error { } func (e WorkflowAssignmentTargetOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *WorkflowAssignmentTargetOrderField) UnmarshalJSON(b []byte) error { @@ -52008,7 +52008,7 @@ func (e *WorkflowDefinitionOrderField) UnmarshalGQL(v any) error { } func (e WorkflowDefinitionOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *WorkflowDefinitionOrderField) UnmarshalJSON(b []byte) error { @@ -52064,7 +52064,7 @@ func (e *WorkflowEventOrderField) UnmarshalGQL(v any) error { } func (e WorkflowEventOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *WorkflowEventOrderField) UnmarshalJSON(b []byte) error { @@ -52120,7 +52120,7 @@ func (e *WorkflowInstanceOrderField) UnmarshalGQL(v any) error { } func (e WorkflowInstanceOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *WorkflowInstanceOrderField) UnmarshalJSON(b []byte) error { @@ -52176,7 +52176,7 @@ func (e *WorkflowObjectRefOrderField) UnmarshalGQL(v any) error { } func (e WorkflowObjectRefOrderField) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) + _, _ = fmt.Fprint(w, strconv.Quote(e.String())) } func (e *WorkflowObjectRefOrderField) UnmarshalJSON(b []byte) error { diff --git a/internal/graphapi/testharness/models.go b/internal/graphapi/testharness/models.go index 2258258818..fb0c707a54 100644 --- a/internal/graphapi/testharness/models.go +++ b/internal/graphapi/testharness/models.go @@ -22,6 +22,7 @@ import ( "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/common/models" + "github.com/theopenlane/core/v2/internal/consts" "github.com/theopenlane/core/v2/internal/ent/generated" ent "github.com/theopenlane/core/v2/internal/ent/generated" @@ -338,6 +339,7 @@ type EvidenceBuilder struct { ProcedureID string IncludeFile bool Status *enums.EvidenceStatus + Tags []string } type StandardBuilder struct { @@ -1509,6 +1511,10 @@ func (e *EvidenceBuilder) MustNew(ctx context.Context, t *testing.T) *ent.Eviden mutation.AddFileIDs(file.ID) } + if len(e.Tags) > 0 { + mutation.SetTags(e.Tags) + } + ev, err := mutation. Save(ctx) RequireNoError(t, err) From c4c01eb2bc97755a19d83dca770b612bfb27e23c Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Fri, 11 Sep 2026 17:27:43 +0100 Subject: [PATCH 06/12] apply custom util to all other jsonb fields not just tags alone --- .task/checksum/generate-graphql-smart | 2 +- .../ent/checksum/.history_schema_checksum | 2 +- .../generate/templates/entgql/gql_where.tmpl | 7 +- internal/ent/generated/gql_where_input.go | 235 +++++++++--------- .../ent/historygenerated/gql_where_input.go | 193 +++++++------- internal/ent/schemautil/tags.go | 4 +- .../checksum/.history_schema_checksum | 2 +- internal/graphapi/checksum/.schema_checksum | 2 +- 8 files changed, 220 insertions(+), 227 deletions(-) diff --git a/.task/checksum/generate-graphql-smart b/.task/checksum/generate-graphql-smart index f6a21fe1a0..0128ce07c6 100644 --- a/.task/checksum/generate-graphql-smart +++ b/.task/checksum/generate-graphql-smart @@ -1 +1 @@ -c66a0965aef5ebe5442c50bcb29ae0d +533093a461a89fd9232a0c56d21e5b20 diff --git a/internal/ent/checksum/.history_schema_checksum b/internal/ent/checksum/.history_schema_checksum index d9e090635b..064f530024 100644 --- a/internal/ent/checksum/.history_schema_checksum +++ b/internal/ent/checksum/.history_schema_checksum @@ -1 +1 @@ -8559d9490a3f7ba3055629e22123e9548f6ccad490852a8318b73a7623cbb71f \ No newline at end of file +d1365bb2f2a29f32cf159c05a38ebf2264815e4200359a41a5a9215be0ebe1de \ No newline at end of file diff --git a/internal/ent/generate/templates/entgql/gql_where.tmpl b/internal/ent/generate/templates/entgql/gql_where.tmpl index 968e9d488f..cc2826a112 100644 --- a/internal/ent/generate/templates/entgql/gql_where.tmpl +++ b/internal/ent/generate/templates/entgql/gql_where.tmpl @@ -23,7 +23,6 @@ import ( "{{ $.Config.Package }}/{{ $n.Package }}" {{- end }} "entgo.io/ent/dialect/sql" - "entgo.io/ent/dialect/sql/sqljson" "github.com/theopenlane/core/v2/internal/ent/schemautil" ) {{ template "import" $ }} @@ -243,11 +242,7 @@ import ( if i.{{ $f.StructField }}Has != nil { v := *i.{{ $f.StructField }}Has predicates = append(predicates, func(s *sql.Selector) { - {{- if eq $f.Name "tags" }} - s.Where(schemautil.TagsHasFold(s.C({{ $col }}), v)) - {{- else }} - s.Where(sqljson.ValueContains({{ $col }}, v)) - {{- end }} + s.Where(schemautil.ValueContainsFold(s.C({{ $col }}), v)) }) } {{- end }} diff --git a/internal/ent/generated/gql_where_input.go b/internal/ent/generated/gql_where_input.go index fad658a6bb..47cde1024d 100644 --- a/internal/ent/generated/gql_where_input.go +++ b/internal/ent/generated/gql_where_input.go @@ -8,7 +8,6 @@ import ( "time" "entgo.io/ent/dialect/sql" - "entgo.io/ent/dialect/sql/sqljson" "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/common/models" "github.com/theopenlane/core/v2/internal/ent/generated/actionplan" @@ -705,14 +704,14 @@ func (i *APITokenWhereInput) P() (predicate.APIToken, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(apitoken.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(apitoken.FieldTags), v)) }) } if i.ScopesHas != nil { v := *i.ScopesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(apitoken.FieldScopes, v)) + s.Where(schemautil.ValueContainsFold(s.C(apitoken.FieldScopes), v)) }) } @@ -2229,49 +2228,49 @@ func (i *ActionPlanWhereInput) P() (predicate.ActionPlan, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(actionplan.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplan.FieldTags), v)) }) } if i.TagSuggestionsHas != nil { v := *i.TagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplan.FieldTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplan.FieldTagSuggestions), v)) }) } if i.DismissedTagSuggestionsHas != nil { v := *i.DismissedTagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplan.FieldDismissedTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplan.FieldDismissedTagSuggestions), v)) }) } if i.ControlSuggestionsHas != nil { v := *i.ControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplan.FieldControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplan.FieldControlSuggestions), v)) }) } if i.DismissedControlSuggestionsHas != nil { v := *i.DismissedControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplan.FieldDismissedControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplan.FieldDismissedControlSuggestions), v)) }) } if i.ImprovementSuggestionsHas != nil { v := *i.ImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplan.FieldImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplan.FieldImprovementSuggestions), v)) }) } if i.DismissedImprovementSuggestionsHas != nil { v := *i.DismissedImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplan.FieldDismissedImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplan.FieldDismissedImprovementSuggestions), v)) }) } @@ -3305,7 +3304,7 @@ func (i *AssessmentWhereInput) P() (predicate.Assessment, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(assessment.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(assessment.FieldTags), v)) }) } @@ -6864,14 +6863,14 @@ func (i *AssetWhereInput) P() (predicate.Asset, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(asset.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(asset.FieldTags), v)) }) } if i.CategoriesHas != nil { v := *i.CategoriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(asset.FieldCategories, v)) + s.Where(schemautil.ValueContainsFold(s.C(asset.FieldCategories), v)) }) } @@ -9049,7 +9048,7 @@ func (i *CampaignWhereInput) P() (predicate.Campaign, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(campaign.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(campaign.FieldTags), v)) }) } @@ -10995,7 +10994,7 @@ func (i *CheckResultWhereInput) P() (predicate.CheckResult, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(checkresult.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(checkresult.FieldTags), v)) }) } @@ -11919,7 +11918,7 @@ func (i *ContactWhereInput) P() (predicate.Contact, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(contact.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(contact.FieldTags), v)) }) } @@ -13940,28 +13939,28 @@ func (i *ControlWhereInput) P() (predicate.Control, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(control.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(control.FieldTags), v)) }) } if i.AliasesHas != nil { v := *i.AliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(control.FieldAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(control.FieldAliases), v)) }) } if i.MappedCategoriesHas != nil { v := *i.MappedCategoriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(control.FieldMappedCategories, v)) + s.Where(schemautil.ValueContainsFold(s.C(control.FieldMappedCategories), v)) }) } if i.ControlQuestionsHas != nil { v := *i.ControlQuestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(control.FieldControlQuestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(control.FieldControlQuestions), v)) }) } @@ -15301,7 +15300,7 @@ func (i *ControlImplementationWhereInput) P() (predicate.ControlImplementation, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(controlimplementation.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(controlimplementation.FieldTags), v)) }) } @@ -16324,7 +16323,7 @@ func (i *ControlObjectiveWhereInput) P() (predicate.ControlObjective, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(controlobjective.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(controlobjective.FieldTags), v)) }) } @@ -17249,7 +17248,7 @@ func (i *CustomDomainWhereInput) P() (predicate.CustomDomain, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(customdomain.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(customdomain.FieldTags), v)) }) } @@ -18993,7 +18992,7 @@ func (i *DNSVerificationWhereInput) P() (predicate.DNSVerification, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(dnsverification.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(dnsverification.FieldTags), v)) }) } @@ -20898,14 +20897,14 @@ func (i *DirectoryAccountWhereInput) P() (predicate.DirectoryAccount, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(directoryaccount.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(directoryaccount.FieldTags), v)) }) } if i.EmailAliasesHas != nil { v := *i.EmailAliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(directoryaccount.FieldEmailAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(directoryaccount.FieldEmailAliases), v)) }) } @@ -22415,7 +22414,7 @@ func (i *DirectoryGroupWhereInput) P() (predicate.DirectoryGroup, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(directorygroup.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(directorygroup.FieldTags), v)) }) } @@ -26293,7 +26292,7 @@ func (i *DocumentDataWhereInput) P() (predicate.DocumentData, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(documentdata.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(documentdata.FieldTags), v)) }) } @@ -30371,42 +30370,42 @@ func (i *EntityWhereInput) P() (predicate.Entity, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(entity.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(entity.FieldTags), v)) }) } if i.DomainsHas != nil { v := *i.DomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entity.FieldDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(entity.FieldDomains), v)) }) } if i.AliasesHas != nil { v := *i.AliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entity.FieldAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(entity.FieldAliases), v)) }) } if i.LinkedAssetIdsHas != nil { v := *i.LinkedAssetIdsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entity.FieldLinkedAssetIds, v)) + s.Where(schemautil.ValueContainsFold(s.C(entity.FieldLinkedAssetIds), v)) }) } if i.ProvidedServicesHas != nil { v := *i.ProvidedServicesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entity.FieldProvidedServices, v)) + s.Where(schemautil.ValueContainsFold(s.C(entity.FieldProvidedServices), v)) }) } if i.LinksHas != nil { v := *i.LinksHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entity.FieldLinks, v)) + s.Where(schemautil.ValueContainsFold(s.C(entity.FieldLinks), v)) }) } @@ -31711,7 +31710,7 @@ func (i *EntityTypeWhereInput) P() (predicate.EntityType, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(entitytype.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(entitytype.FieldTags), v)) }) } @@ -32205,7 +32204,7 @@ func (i *EventWhereInput) P() (predicate.Event, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(event.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(event.FieldTags), v)) }) } @@ -33541,7 +33540,7 @@ func (i *EvidenceWhereInput) P() (predicate.Evidence, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(evidence.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(evidence.FieldTags), v)) }) } @@ -34436,7 +34435,7 @@ func (i *ExportWhereInput) P() (predicate.Export, error) { if i.FieldsHas != nil { v := *i.FieldsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(export.FieldFields, v)) + s.Where(schemautil.ValueContainsFold(s.C(export.FieldFields), v)) }) } @@ -36004,7 +36003,7 @@ func (i *FileWhereInput) P() (predicate.File, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(file.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(file.FieldTags), v)) }) } @@ -38875,35 +38874,35 @@ func (i *FindingWhereInput) P() (predicate.Finding, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(finding.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(finding.FieldTags), v)) }) } if i.CategoriesHas != nil { v := *i.CategoriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(finding.FieldCategories, v)) + s.Where(schemautil.ValueContainsFold(s.C(finding.FieldCategories), v)) }) } if i.ReferencesHas != nil { v := *i.ReferencesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(finding.FieldReferences, v)) + s.Where(schemautil.ValueContainsFold(s.C(finding.FieldReferences), v)) }) } if i.StepsToReproduceHas != nil { v := *i.StepsToReproduceHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(finding.FieldStepsToReproduce, v)) + s.Where(schemautil.ValueContainsFold(s.C(finding.FieldStepsToReproduce), v)) }) } if i.TargetsHas != nil { v := *i.TargetsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(finding.FieldTargets, v)) + s.Where(schemautil.ValueContainsFold(s.C(finding.FieldTargets), v)) }) } @@ -41307,14 +41306,14 @@ func (i *GroupWhereInput) P() (predicate.Group, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(group.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(group.FieldTags), v)) }) } if i.OscalContactUuidsHas != nil { v := *i.OscalContactUuidsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(group.FieldOscalContactUuids, v)) + s.Where(schemautil.ValueContainsFold(s.C(group.FieldOscalContactUuids), v)) }) } @@ -45612,14 +45611,14 @@ func (i *IdentityHolderWhereInput) P() (predicate.IdentityHolder, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(identityholder.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(identityholder.FieldTags), v)) }) } if i.EmailAliasesHas != nil { v := *i.EmailAliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(identityholder.FieldEmailAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(identityholder.FieldEmailAliases), v)) }) } @@ -47318,7 +47317,7 @@ func (i *IntegrationWhereInput) P() (predicate.Integration, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(integration.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(integration.FieldTags), v)) }) } @@ -49281,49 +49280,49 @@ func (i *InternalPolicyWhereInput) P() (predicate.InternalPolicy, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(internalpolicy.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicy.FieldTags), v)) }) } if i.TagSuggestionsHas != nil { v := *i.TagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicy.FieldTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicy.FieldTagSuggestions), v)) }) } if i.DismissedTagSuggestionsHas != nil { v := *i.DismissedTagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicy.FieldDismissedTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicy.FieldDismissedTagSuggestions), v)) }) } if i.ControlSuggestionsHas != nil { v := *i.ControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicy.FieldControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicy.FieldControlSuggestions), v)) }) } if i.DismissedControlSuggestionsHas != nil { v := *i.DismissedControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicy.FieldDismissedControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicy.FieldDismissedControlSuggestions), v)) }) } if i.ImprovementSuggestionsHas != nil { v := *i.ImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicy.FieldImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicy.FieldImprovementSuggestions), v)) }) } if i.DismissedImprovementSuggestionsHas != nil { v := *i.DismissedImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicy.FieldDismissedImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicy.FieldDismissedImprovementSuggestions), v)) }) } @@ -50860,7 +50859,7 @@ func (i *MappableDomainWhereInput) P() (predicate.MappableDomain, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(mappabledomain.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(mappabledomain.FieldTags), v)) }) } @@ -51511,7 +51510,7 @@ func (i *MappedControlWhereInput) P() (predicate.MappedControl, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(mappedcontrol.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(mappedcontrol.FieldTags), v)) }) } @@ -52324,7 +52323,7 @@ func (i *NarrativeWhereInput) P() (predicate.Narrative, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(narrative.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(narrative.FieldTags), v)) }) } @@ -54388,7 +54387,7 @@ func (i *NotificationPreferenceWhereInput) P() (predicate.NotificationPreference if i.TopicPatternsHas != nil { v := *i.TopicPatternsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(notificationpreference.FieldTopicPatterns, v)) + s.Where(schemautil.ValueContainsFold(s.C(notificationpreference.FieldTopicPatterns), v)) }) } @@ -55865,7 +55864,7 @@ func (i *OnboardingWhereInput) P() (predicate.Onboarding, error) { if i.DomainsHas != nil { v := *i.DomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(onboarding.FieldDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(onboarding.FieldDomains), v)) }) } @@ -57226,7 +57225,7 @@ func (i *OrgSubscriptionWhereInput) P() (predicate.OrgSubscription, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(orgsubscription.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(orgsubscription.FieldTags), v)) }) } @@ -58457,7 +58456,7 @@ func (i *OrganizationWhereInput) P() (predicate.Organization, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(organization.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(organization.FieldTags), v)) }) } @@ -62476,35 +62475,35 @@ func (i *OrganizationSettingWhereInput) P() (predicate.OrganizationSetting, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(organizationsetting.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsetting.FieldTags), v)) }) } if i.DomainsHas != nil { v := *i.DomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsetting.FieldDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsetting.FieldDomains), v)) }) } if i.AllowedEmailDomainsHas != nil { v := *i.AllowedEmailDomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsetting.FieldAllowedEmailDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsetting.FieldAllowedEmailDomains), v)) }) } if i.JitAllowedEmailDomainsHas != nil { v := *i.JitAllowedEmailDomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsetting.FieldJitAllowedEmailDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsetting.FieldJitAllowedEmailDomains), v)) }) } if i.SSOExemptDomainsHas != nil { v := *i.SSOExemptDomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsetting.FieldSSOExemptDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsetting.FieldSSOExemptDomains), v)) }) } @@ -63119,14 +63118,14 @@ func (i *PersonalAccessTokenWhereInput) P() (predicate.PersonalAccessToken, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(personalaccesstoken.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(personalaccesstoken.FieldTags), v)) }) } if i.ScopesHas != nil { v := *i.ScopesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(personalaccesstoken.FieldScopes, v)) + s.Where(schemautil.ValueContainsFold(s.C(personalaccesstoken.FieldScopes), v)) }) } @@ -65862,7 +65861,7 @@ func (i *PlatformWhereInput) P() (predicate.Platform, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(platform.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(platform.FieldTags), v)) }) } @@ -68264,49 +68263,49 @@ func (i *ProcedureWhereInput) P() (predicate.Procedure, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(procedure.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(procedure.FieldTags), v)) }) } if i.TagSuggestionsHas != nil { v := *i.TagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedure.FieldTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedure.FieldTagSuggestions), v)) }) } if i.DismissedTagSuggestionsHas != nil { v := *i.DismissedTagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedure.FieldDismissedTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedure.FieldDismissedTagSuggestions), v)) }) } if i.ControlSuggestionsHas != nil { v := *i.ControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedure.FieldControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedure.FieldControlSuggestions), v)) }) } if i.DismissedControlSuggestionsHas != nil { v := *i.DismissedControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedure.FieldDismissedControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedure.FieldDismissedControlSuggestions), v)) }) } if i.ImprovementSuggestionsHas != nil { v := *i.ImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedure.FieldImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedure.FieldImprovementSuggestions), v)) }) } if i.DismissedImprovementSuggestionsHas != nil { v := *i.DismissedImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedure.FieldDismissedImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedure.FieldDismissedImprovementSuggestions), v)) }) } @@ -69854,7 +69853,7 @@ func (i *ProgramWhereInput) P() (predicate.Program, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(program.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(program.FieldTags), v)) }) } @@ -72392,7 +72391,7 @@ func (i *RemediationWhereInput) P() (predicate.Remediation, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(remediation.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(remediation.FieldTags), v)) }) } @@ -74216,7 +74215,7 @@ func (i *ReviewWhereInput) P() (predicate.Review, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(review.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(review.FieldTags), v)) }) } @@ -76293,7 +76292,7 @@ func (i *RiskWhereInput) P() (predicate.Risk, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(risk.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(risk.FieldTags), v)) }) } @@ -77288,7 +77287,7 @@ func (i *SLADefinitionWhereInput) P() (predicate.SLADefinition, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(sladefinition.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(sladefinition.FieldTags), v)) }) } @@ -78802,14 +78801,14 @@ func (i *ScanWhereInput) P() (predicate.Scan, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(scan.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(scan.FieldTags), v)) }) } if i.DiscoveredVulnerabilityIdsHas != nil { v := *i.DiscoveredVulnerabilityIdsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(scan.FieldDiscoveredVulnerabilityIds, v)) + s.Where(schemautil.ValueContainsFold(s.C(scan.FieldDiscoveredVulnerabilityIds), v)) }) } @@ -80370,14 +80369,14 @@ func (i *StandardWhereInput) P() (predicate.Standard, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(standard.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(standard.FieldTags), v)) }) } if i.DomainsHas != nil { v := *i.DomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(standard.FieldDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(standard.FieldDomains), v)) }) } @@ -82128,28 +82127,28 @@ func (i *SubcontrolWhereInput) P() (predicate.Subcontrol, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(subcontrol.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(subcontrol.FieldTags), v)) }) } if i.AliasesHas != nil { v := *i.AliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subcontrol.FieldAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(subcontrol.FieldAliases), v)) }) } if i.MappedCategoriesHas != nil { v := *i.MappedCategoriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subcontrol.FieldMappedCategories, v)) + s.Where(schemautil.ValueContainsFold(s.C(subcontrol.FieldMappedCategories), v)) }) } if i.ControlQuestionsHas != nil { v := *i.ControlQuestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subcontrol.FieldControlQuestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(subcontrol.FieldControlQuestions), v)) }) } @@ -83314,7 +83313,7 @@ func (i *SubprocessorWhereInput) P() (predicate.Subprocessor, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(subprocessor.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(subprocessor.FieldTags), v)) }) } @@ -84075,7 +84074,7 @@ func (i *SubscriberWhereInput) P() (predicate.Subscriber, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(subscriber.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(subscriber.FieldTags), v)) }) } @@ -84848,7 +84847,7 @@ func (i *SystemDetailWhereInput) P() (predicate.SystemDetail, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(systemdetail.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(systemdetail.FieldTags), v)) }) } @@ -85968,7 +85967,7 @@ func (i *TagDefinitionWhereInput) P() (predicate.TagDefinition, error) { if i.AliasesHas != nil { v := *i.AliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(tagdefinition.FieldAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(tagdefinition.FieldAliases), v)) }) } @@ -87336,14 +87335,14 @@ func (i *TaskWhereInput) P() (predicate.Task, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(task.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(task.FieldTags), v)) }) } if i.ExternalReferenceURLHas != nil { v := *i.ExternalReferenceURLHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(task.FieldExternalReferenceURL, v)) + s.Where(schemautil.ValueContainsFold(s.C(task.FieldExternalReferenceURL), v)) }) } @@ -88710,7 +88709,7 @@ func (i *TemplateWhereInput) P() (predicate.Template, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(template.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(template.FieldTags), v)) }) } @@ -89675,7 +89674,7 @@ func (i *TrustCenterWhereInput) P() (predicate.TrustCenter, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(trustcenter.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcenter.FieldTags), v)) }) } @@ -90487,7 +90486,7 @@ func (i *TrustCenterComplianceWhereInput) P() (predicate.TrustCenterCompliance, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(trustcentercompliance.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcentercompliance.FieldTags), v)) }) } @@ -91299,7 +91298,7 @@ func (i *TrustCenterDocWhereInput) P() (predicate.TrustCenterDoc, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(trustcenterdoc.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcenterdoc.FieldTags), v)) }) } @@ -93576,7 +93575,7 @@ func (i *TrustCenterNDARequestWhereInput) P() (predicate.TrustCenterNDARequest, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(trustcenterndarequest.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcenterndarequest.FieldTags), v)) }) } @@ -95804,7 +95803,7 @@ func (i *TrustCenterSubprocessorWhereInput) P() (predicate.TrustCenterSubprocess if i.CountriesHas != nil { v := *i.CountriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcentersubprocessor.FieldCountries, v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcentersubprocessor.FieldCountries), v)) }) } @@ -97816,7 +97815,7 @@ func (i *UserWhereInput) P() (predicate.User, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(user.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(user.FieldTags), v)) }) } @@ -98829,7 +98828,7 @@ func (i *UserSettingWhereInput) P() (predicate.UserSetting, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(usersetting.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(usersetting.FieldTags), v)) }) } @@ -99703,7 +99702,7 @@ func (i *VendorRiskScoreWhereInput) P() (predicate.VendorRiskScore, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(vendorriskscore.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(vendorriskscore.FieldTags), v)) }) } @@ -100175,7 +100174,7 @@ func (i *VendorScoringConfigWhereInput) P() (predicate.VendorScoringConfig, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(vendorscoringconfig.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(vendorscoringconfig.FieldTags), v)) }) } @@ -102904,28 +102903,28 @@ func (i *VulnerabilityWhereInput) P() (predicate.Vulnerability, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(vulnerability.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(vulnerability.FieldTags), v)) }) } if i.ReferencesHas != nil { v := *i.ReferencesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vulnerability.FieldReferences, v)) + s.Where(schemautil.ValueContainsFold(s.C(vulnerability.FieldReferences), v)) }) } if i.ImpactsHas != nil { v := *i.ImpactsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vulnerability.FieldImpacts, v)) + s.Where(schemautil.ValueContainsFold(s.C(vulnerability.FieldImpacts), v)) }) } if i.CweIdsHas != nil { v := *i.CweIdsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vulnerability.FieldCweIds, v)) + s.Where(schemautil.ValueContainsFold(s.C(vulnerability.FieldCweIds), v)) }) } @@ -103757,7 +103756,7 @@ func (i *WebauthnWhereInput) P() (predicate.Webauthn, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(webauthn.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(webauthn.FieldTags), v)) }) } @@ -104590,7 +104589,7 @@ func (i *WorkflowAssignmentWhereInput) P() (predicate.WorkflowAssignment, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(workflowassignment.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowassignment.FieldTags), v)) }) } @@ -105303,7 +105302,7 @@ func (i *WorkflowAssignmentTargetWhereInput) P() (predicate.WorkflowAssignmentTa if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(workflowassignmenttarget.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowassignmenttarget.FieldTags), v)) }) } @@ -106184,14 +106183,14 @@ func (i *WorkflowDefinitionWhereInput) P() (predicate.WorkflowDefinition, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(workflowdefinition.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowdefinition.FieldTags), v)) }) } if i.TrackedFieldsHas != nil { v := *i.TrackedFieldsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowdefinition.FieldTrackedFields, v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowdefinition.FieldTrackedFields), v)) }) } @@ -106815,7 +106814,7 @@ func (i *WorkflowEventWhereInput) P() (predicate.WorkflowEvent, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(workflowevent.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowevent.FieldTags), v)) }) } @@ -108343,7 +108342,7 @@ func (i *WorkflowInstanceWhereInput) P() (predicate.WorkflowInstance, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(workflowinstance.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowinstance.FieldTags), v)) }) } diff --git a/internal/ent/historygenerated/gql_where_input.go b/internal/ent/historygenerated/gql_where_input.go index 9bfce11f37..c79aecfb6e 100644 --- a/internal/ent/historygenerated/gql_where_input.go +++ b/internal/ent/historygenerated/gql_where_input.go @@ -10,7 +10,6 @@ import ( "time" "entgo.io/ent/dialect/sql" - "entgo.io/ent/dialect/sql/sqljson" "github.com/theopenlane/core/common/enums" "github.com/theopenlane/core/common/models" "github.com/theopenlane/core/v2/internal/ent/historygenerated/actionplanhistory" @@ -1578,49 +1577,49 @@ func (i *ActionPlanHistoryWhereInput) P() (predicate.ActionPlanHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(actionplanhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplanhistory.FieldTags), v)) }) } if i.TagSuggestionsHas != nil { v := *i.TagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplanhistory.FieldTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplanhistory.FieldTagSuggestions), v)) }) } if i.DismissedTagSuggestionsHas != nil { v := *i.DismissedTagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplanhistory.FieldDismissedTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplanhistory.FieldDismissedTagSuggestions), v)) }) } if i.ControlSuggestionsHas != nil { v := *i.ControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplanhistory.FieldControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplanhistory.FieldControlSuggestions), v)) }) } if i.DismissedControlSuggestionsHas != nil { v := *i.DismissedControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplanhistory.FieldDismissedControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplanhistory.FieldDismissedControlSuggestions), v)) }) } if i.ImprovementSuggestionsHas != nil { v := *i.ImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplanhistory.FieldImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplanhistory.FieldImprovementSuggestions), v)) }) } if i.DismissedImprovementSuggestionsHas != nil { v := *i.DismissedImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(actionplanhistory.FieldDismissedImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(actionplanhistory.FieldDismissedImprovementSuggestions), v)) }) } @@ -2340,7 +2339,7 @@ func (i *AssessmentHistoryWhereInput) P() (predicate.AssessmentHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(assessmenthistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(assessmenthistory.FieldTags), v)) }) } @@ -5571,14 +5570,14 @@ func (i *AssetHistoryWhereInput) P() (predicate.AssetHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(assethistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(assethistory.FieldTags), v)) }) } if i.CategoriesHas != nil { v := *i.CategoriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(assethistory.FieldCategories, v)) + s.Where(schemautil.ValueContainsFold(s.C(assethistory.FieldCategories), v)) }) } @@ -7150,7 +7149,7 @@ func (i *CampaignHistoryWhereInput) P() (predicate.CampaignHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(campaignhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(campaignhistory.FieldTags), v)) }) } @@ -8878,7 +8877,7 @@ func (i *ContactHistoryWhereInput) P() (predicate.ContactHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(contacthistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(contacthistory.FieldTags), v)) }) } @@ -10727,28 +10726,28 @@ func (i *ControlHistoryWhereInput) P() (predicate.ControlHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(controlhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(controlhistory.FieldTags), v)) }) } if i.AliasesHas != nil { v := *i.AliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(controlhistory.FieldAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(controlhistory.FieldAliases), v)) }) } if i.MappedCategoriesHas != nil { v := *i.MappedCategoriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(controlhistory.FieldMappedCategories, v)) + s.Where(schemautil.ValueContainsFold(s.C(controlhistory.FieldMappedCategories), v)) }) } if i.ControlQuestionsHas != nil { v := *i.ControlQuestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(controlhistory.FieldControlQuestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(controlhistory.FieldControlQuestions), v)) }) } @@ -11464,7 +11463,7 @@ func (i *ControlImplementationHistoryWhereInput) P() (predicate.ControlImplement if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(controlimplementationhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(controlimplementationhistory.FieldTags), v)) }) } @@ -12388,7 +12387,7 @@ func (i *ControlObjectiveHistoryWhereInput) P() (predicate.ControlObjectiveHisto if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(controlobjectivehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(controlobjectivehistory.FieldTags), v)) }) } @@ -13140,7 +13139,7 @@ func (i *CustomDomainHistoryWhereInput) P() (predicate.CustomDomainHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(customdomainhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(customdomainhistory.FieldTags), v)) }) } @@ -14328,7 +14327,7 @@ func (i *DocumentDataHistoryWhereInput) P() (predicate.DocumentDataHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(documentdatahistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(documentdatahistory.FieldTags), v)) }) } @@ -18047,42 +18046,42 @@ func (i *EntityHistoryWhereInput) P() (predicate.EntityHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(entityhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(entityhistory.FieldTags), v)) }) } if i.DomainsHas != nil { v := *i.DomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entityhistory.FieldDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(entityhistory.FieldDomains), v)) }) } if i.AliasesHas != nil { v := *i.AliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entityhistory.FieldAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(entityhistory.FieldAliases), v)) }) } if i.LinkedAssetIdsHas != nil { v := *i.LinkedAssetIdsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entityhistory.FieldLinkedAssetIds, v)) + s.Where(schemautil.ValueContainsFold(s.C(entityhistory.FieldLinkedAssetIds), v)) }) } if i.ProvidedServicesHas != nil { v := *i.ProvidedServicesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entityhistory.FieldProvidedServices, v)) + s.Where(schemautil.ValueContainsFold(s.C(entityhistory.FieldProvidedServices), v)) }) } if i.LinksHas != nil { v := *i.LinksHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(entityhistory.FieldLinks, v)) + s.Where(schemautil.ValueContainsFold(s.C(entityhistory.FieldLinks), v)) }) } @@ -18686,7 +18685,7 @@ func (i *EntityTypeHistoryWhereInput) P() (predicate.EntityTypeHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(entitytypehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(entitytypehistory.FieldTags), v)) }) } @@ -19818,7 +19817,7 @@ func (i *EvidenceHistoryWhereInput) P() (predicate.EvidenceHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(evidencehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(evidencehistory.FieldTags), v)) }) } @@ -21332,7 +21331,7 @@ func (i *FileHistoryWhereInput) P() (predicate.FileHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(filehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(filehistory.FieldTags), v)) }) } @@ -24536,35 +24535,35 @@ func (i *FindingHistoryWhereInput) P() (predicate.FindingHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(findinghistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(findinghistory.FieldTags), v)) }) } if i.CategoriesHas != nil { v := *i.CategoriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(findinghistory.FieldCategories, v)) + s.Where(schemautil.ValueContainsFold(s.C(findinghistory.FieldCategories), v)) }) } if i.ReferencesHas != nil { v := *i.ReferencesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(findinghistory.FieldReferences, v)) + s.Where(schemautil.ValueContainsFold(s.C(findinghistory.FieldReferences), v)) }) } if i.StepsToReproduceHas != nil { v := *i.StepsToReproduceHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(findinghistory.FieldStepsToReproduce, v)) + s.Where(schemautil.ValueContainsFold(s.C(findinghistory.FieldStepsToReproduce), v)) }) } if i.TargetsHas != nil { v := *i.TargetsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(findinghistory.FieldTargets, v)) + s.Where(schemautil.ValueContainsFold(s.C(findinghistory.FieldTargets), v)) }) } @@ -25449,14 +25448,14 @@ func (i *GroupHistoryWhereInput) P() (predicate.GroupHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(grouphistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(grouphistory.FieldTags), v)) }) } if i.OscalContactUuidsHas != nil { v := *i.OscalContactUuidsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(grouphistory.FieldOscalContactUuids, v)) + s.Where(schemautil.ValueContainsFold(s.C(grouphistory.FieldOscalContactUuids), v)) }) } @@ -28803,14 +28802,14 @@ func (i *IdentityHolderHistoryWhereInput) P() (predicate.IdentityHolderHistory, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(identityholderhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(identityholderhistory.FieldTags), v)) }) } if i.EmailAliasesHas != nil { v := *i.EmailAliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(identityholderhistory.FieldEmailAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(identityholderhistory.FieldEmailAliases), v)) }) } @@ -30304,49 +30303,49 @@ func (i *InternalPolicyHistoryWhereInput) P() (predicate.InternalPolicyHistory, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(internalpolicyhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicyhistory.FieldTags), v)) }) } if i.TagSuggestionsHas != nil { v := *i.TagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicyhistory.FieldTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicyhistory.FieldTagSuggestions), v)) }) } if i.DismissedTagSuggestionsHas != nil { v := *i.DismissedTagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicyhistory.FieldDismissedTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicyhistory.FieldDismissedTagSuggestions), v)) }) } if i.ControlSuggestionsHas != nil { v := *i.ControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicyhistory.FieldControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicyhistory.FieldControlSuggestions), v)) }) } if i.DismissedControlSuggestionsHas != nil { v := *i.DismissedControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicyhistory.FieldDismissedControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicyhistory.FieldDismissedControlSuggestions), v)) }) } if i.ImprovementSuggestionsHas != nil { v := *i.ImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicyhistory.FieldImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicyhistory.FieldImprovementSuggestions), v)) }) } if i.DismissedImprovementSuggestionsHas != nil { v := *i.DismissedImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(internalpolicyhistory.FieldDismissedImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(internalpolicyhistory.FieldDismissedImprovementSuggestions), v)) }) } @@ -30832,7 +30831,7 @@ func (i *MappableDomainHistoryWhereInput) P() (predicate.MappableDomainHistory, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(mappabledomainhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(mappabledomainhistory.FieldTags), v)) }) } @@ -31522,7 +31521,7 @@ func (i *MappedControlHistoryWhereInput) P() (predicate.MappedControlHistory, er if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(mappedcontrolhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(mappedcontrolhistory.FieldTags), v)) }) } @@ -32256,7 +32255,7 @@ func (i *NarrativeHistoryWhereInput) P() (predicate.NarrativeHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(narrativehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(narrativehistory.FieldTags), v)) }) } @@ -34026,7 +34025,7 @@ func (i *NotificationPreferenceHistoryWhereInput) P() (predicate.NotificationPre if i.TopicPatternsHas != nil { v := *i.TopicPatternsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(notificationpreferencehistory.FieldTopicPatterns, v)) + s.Where(schemautil.ValueContainsFold(s.C(notificationpreferencehistory.FieldTopicPatterns), v)) }) } @@ -36662,7 +36661,7 @@ func (i *OrganizationHistoryWhereInput) P() (predicate.OrganizationHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(organizationhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationhistory.FieldTags), v)) }) } @@ -37914,35 +37913,35 @@ func (i *OrganizationSettingHistoryWhereInput) P() (predicate.OrganizationSettin if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(organizationsettinghistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsettinghistory.FieldTags), v)) }) } if i.DomainsHas != nil { v := *i.DomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsettinghistory.FieldDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsettinghistory.FieldDomains), v)) }) } if i.AllowedEmailDomainsHas != nil { v := *i.AllowedEmailDomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsettinghistory.FieldAllowedEmailDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsettinghistory.FieldAllowedEmailDomains), v)) }) } if i.JitAllowedEmailDomainsHas != nil { v := *i.JitAllowedEmailDomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsettinghistory.FieldJitAllowedEmailDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsettinghistory.FieldJitAllowedEmailDomains), v)) }) } if i.SSOExemptDomainsHas != nil { v := *i.SSOExemptDomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(organizationsettinghistory.FieldSSOExemptDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(organizationsettinghistory.FieldSSOExemptDomains), v)) }) } @@ -40504,7 +40503,7 @@ func (i *PlatformHistoryWhereInput) P() (predicate.PlatformHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(platformhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(platformhistory.FieldTags), v)) }) } @@ -41952,49 +41951,49 @@ func (i *ProcedureHistoryWhereInput) P() (predicate.ProcedureHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(procedurehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(procedurehistory.FieldTags), v)) }) } if i.TagSuggestionsHas != nil { v := *i.TagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedurehistory.FieldTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedurehistory.FieldTagSuggestions), v)) }) } if i.DismissedTagSuggestionsHas != nil { v := *i.DismissedTagSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedurehistory.FieldDismissedTagSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedurehistory.FieldDismissedTagSuggestions), v)) }) } if i.ControlSuggestionsHas != nil { v := *i.ControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedurehistory.FieldControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedurehistory.FieldControlSuggestions), v)) }) } if i.DismissedControlSuggestionsHas != nil { v := *i.DismissedControlSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedurehistory.FieldDismissedControlSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedurehistory.FieldDismissedControlSuggestions), v)) }) } if i.ImprovementSuggestionsHas != nil { v := *i.ImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedurehistory.FieldImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedurehistory.FieldImprovementSuggestions), v)) }) } if i.DismissedImprovementSuggestionsHas != nil { v := *i.DismissedImprovementSuggestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(procedurehistory.FieldDismissedImprovementSuggestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(procedurehistory.FieldDismissedImprovementSuggestions), v)) }) } @@ -43168,7 +43167,7 @@ func (i *ProgramHistoryWhereInput) P() (predicate.ProgramHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(programhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(programhistory.FieldTags), v)) }) } @@ -45274,7 +45273,7 @@ func (i *RemediationHistoryWhereInput) P() (predicate.RemediationHistory, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(remediationhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(remediationhistory.FieldTags), v)) }) } @@ -46702,7 +46701,7 @@ func (i *ReviewHistoryWhereInput) P() (predicate.ReviewHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(reviewhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(reviewhistory.FieldTags), v)) }) } @@ -48354,7 +48353,7 @@ func (i *RiskHistoryWhereInput) P() (predicate.RiskHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(riskhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(riskhistory.FieldTags), v)) }) } @@ -48892,7 +48891,7 @@ func (i *SLADefinitionHistoryWhereInput) P() (predicate.SLADefinitionHistory, er if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(sladefinitionhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(sladefinitionhistory.FieldTags), v)) }) } @@ -50021,14 +50020,14 @@ func (i *StandardHistoryWhereInput) P() (predicate.StandardHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(standardhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(standardhistory.FieldTags), v)) }) } if i.DomainsHas != nil { v := *i.DomainsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(standardhistory.FieldDomains, v)) + s.Where(schemautil.ValueContainsFold(s.C(standardhistory.FieldDomains), v)) }) } @@ -51641,28 +51640,28 @@ func (i *SubcontrolHistoryWhereInput) P() (predicate.SubcontrolHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(subcontrolhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(subcontrolhistory.FieldTags), v)) }) } if i.AliasesHas != nil { v := *i.AliasesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subcontrolhistory.FieldAliases, v)) + s.Where(schemautil.ValueContainsFold(s.C(subcontrolhistory.FieldAliases), v)) }) } if i.MappedCategoriesHas != nil { v := *i.MappedCategoriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subcontrolhistory.FieldMappedCategories, v)) + s.Where(schemautil.ValueContainsFold(s.C(subcontrolhistory.FieldMappedCategories), v)) }) } if i.ControlQuestionsHas != nil { v := *i.ControlQuestionsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(subcontrolhistory.FieldControlQuestions, v)) + s.Where(schemautil.ValueContainsFold(s.C(subcontrolhistory.FieldControlQuestions), v)) }) } @@ -52404,7 +52403,7 @@ func (i *SubprocessorHistoryWhereInput) P() (predicate.SubprocessorHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(subprocessorhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(subprocessorhistory.FieldTags), v)) }) } @@ -53130,7 +53129,7 @@ func (i *SystemDetailHistoryWhereInput) P() (predicate.SystemDetailHistory, erro if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(systemdetailhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(systemdetailhistory.FieldTags), v)) }) } @@ -54461,14 +54460,14 @@ func (i *TaskHistoryWhereInput) P() (predicate.TaskHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(taskhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(taskhistory.FieldTags), v)) }) } if i.ExternalReferenceURLHas != nil { v := *i.ExternalReferenceURLHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(taskhistory.FieldExternalReferenceURL, v)) + s.Where(schemautil.ValueContainsFold(s.C(taskhistory.FieldExternalReferenceURL), v)) }) } @@ -55392,7 +55391,7 @@ func (i *TemplateHistoryWhereInput) P() (predicate.TemplateHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(templatehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(templatehistory.FieldTags), v)) }) } @@ -55886,7 +55885,7 @@ func (i *TrustCenterComplianceHistoryWhereInput) P() (predicate.TrustCenterCompl if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(trustcentercompliancehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcentercompliancehistory.FieldTags), v)) }) } @@ -56680,7 +56679,7 @@ func (i *TrustCenterDocHistoryWhereInput) P() (predicate.TrustCenterDocHistory, if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(trustcenterdochistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcenterdochistory.FieldTags), v)) }) } @@ -58716,7 +58715,7 @@ func (i *TrustCenterHistoryWhereInput) P() (predicate.TrustCenterHistory, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(trustcenterhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcenterhistory.FieldTags), v)) }) } @@ -59628,7 +59627,7 @@ func (i *TrustCenterNDARequestHistoryWhereInput) P() (predicate.TrustCenterNDARe if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(trustcenterndarequesthistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcenterndarequesthistory.FieldTags), v)) }) } @@ -61734,7 +61733,7 @@ func (i *TrustCenterSubprocessorHistoryWhereInput) P() (predicate.TrustCenterSub if i.CountriesHas != nil { v := *i.CountriesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(trustcentersubprocessorhistory.FieldCountries, v)) + s.Where(schemautil.ValueContainsFold(s.C(trustcentersubprocessorhistory.FieldCountries), v)) }) } @@ -63620,7 +63619,7 @@ func (i *UserHistoryWhereInput) P() (predicate.UserHistory, error) { if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(userhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(userhistory.FieldTags), v)) }) } @@ -64298,7 +64297,7 @@ func (i *UserSettingHistoryWhereInput) P() (predicate.UserSettingHistory, error) if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(usersettinghistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(usersettinghistory.FieldTags), v)) }) } @@ -65204,7 +65203,7 @@ func (i *VendorRiskScoreHistoryWhereInput) P() (predicate.VendorRiskScoreHistory if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(vendorriskscorehistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(vendorriskscorehistory.FieldTags), v)) }) } @@ -65678,7 +65677,7 @@ func (i *VendorScoringConfigHistoryWhereInput) P() (predicate.VendorScoringConfi if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(vendorscoringconfighistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(vendorscoringconfighistory.FieldTags), v)) }) } @@ -68339,28 +68338,28 @@ func (i *VulnerabilityHistoryWhereInput) P() (predicate.VulnerabilityHistory, er if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(vulnerabilityhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(vulnerabilityhistory.FieldTags), v)) }) } if i.ReferencesHas != nil { v := *i.ReferencesHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vulnerabilityhistory.FieldReferences, v)) + s.Where(schemautil.ValueContainsFold(s.C(vulnerabilityhistory.FieldReferences), v)) }) } if i.ImpactsHas != nil { v := *i.ImpactsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vulnerabilityhistory.FieldImpacts, v)) + s.Where(schemautil.ValueContainsFold(s.C(vulnerabilityhistory.FieldImpacts), v)) }) } if i.CweIdsHas != nil { v := *i.CweIdsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(vulnerabilityhistory.FieldCweIds, v)) + s.Where(schemautil.ValueContainsFold(s.C(vulnerabilityhistory.FieldCweIds), v)) }) } @@ -69240,7 +69239,7 @@ func (i *WorkflowAssignmentHistoryWhereInput) P() (predicate.WorkflowAssignmentH if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(workflowassignmenthistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowassignmenthistory.FieldTags), v)) }) } @@ -69928,7 +69927,7 @@ func (i *WorkflowAssignmentTargetHistoryWhereInput) P() (predicate.WorkflowAssig if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(workflowassignmenttargethistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowassignmenttargethistory.FieldTags), v)) }) } @@ -70787,14 +70786,14 @@ func (i *WorkflowDefinitionHistoryWhereInput) P() (predicate.WorkflowDefinitionH if i.TagsHas != nil { v := *i.TagsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(schemautil.TagsHasFold(s.C(workflowdefinitionhistory.FieldTags), v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowdefinitionhistory.FieldTags), v)) }) } if i.TrackedFieldsHas != nil { v := *i.TrackedFieldsHas predicates = append(predicates, func(s *sql.Selector) { - s.Where(sqljson.ValueContains(workflowdefinitionhistory.FieldTrackedFields, v)) + s.Where(schemautil.ValueContainsFold(s.C(workflowdefinitionhistory.FieldTrackedFields), v)) }) } diff --git a/internal/ent/schemautil/tags.go b/internal/ent/schemautil/tags.go index 1c92d1a605..0de862551f 100644 --- a/internal/ent/schemautil/tags.go +++ b/internal/ent/schemautil/tags.go @@ -2,8 +2,8 @@ package schemautil import "entgo.io/ent/dialect/sql" -// TagsHasFold checks if the value matches while disregarding case sensitivity -func TagsHasFold(column, value string) *sql.Predicate { +// ValueContainsFold checks if the value matches while disregarding case sensitivity +func ValueContainsFold(column, value string) *sql.Predicate { return sql.P(func(b *sql.Builder) { b.WriteString("EXISTS (SELECT 1 FROM jsonb_array_elements_text("). Ident(column). diff --git a/internal/graphapi/checksum/.history_schema_checksum b/internal/graphapi/checksum/.history_schema_checksum index 04798873ce..6201ec9720 100644 --- a/internal/graphapi/checksum/.history_schema_checksum +++ b/internal/graphapi/checksum/.history_schema_checksum @@ -1 +1 @@ -c8eaddcbae50bd3e09577bb8dcb40bb957d12bf14847f6a37377e3858de5e9de \ No newline at end of file +cf231c6880a8eb82235842262ce2c6701cde44b340cc33f26040e5e66f889d5d \ No newline at end of file diff --git a/internal/graphapi/checksum/.schema_checksum b/internal/graphapi/checksum/.schema_checksum index c3f25960c6..1731e39dee 100644 --- a/internal/graphapi/checksum/.schema_checksum +++ b/internal/graphapi/checksum/.schema_checksum @@ -1 +1 @@ -caccc6b31dfc75a897a5c73bc578efc66bd9097d22e25de46105e9770e59c65d \ No newline at end of file +de484ae9b43149f41d09ec4e8309a3f97847275af49a37c385bc7f9dfa386ef5 \ No newline at end of file From 04dc6ee5b6855148c5e16491c2910efe95da12a5 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Sat, 12 Sep 2026 00:27:18 +0100 Subject: [PATCH 07/12] rework implementation --- internal/ent/hooks/listener_init.go | 26 --------- .../ent/hooks/listeners_campaign_recurring.go | 3 + .../hooks/listeners_document_associations.go | 3 + internal/ent/hooks/listeners_entitlements.go | 3 + internal/ent/hooks/listeners_file_backup.go | 3 + .../ent/hooks/listeners_identityresolution.go | 3 + .../hooks/listeners_integration_cleanup.go | 3 + .../ent/hooks/listeners_nda_attestation.go | 3 + .../ent/hooks/listeners_onboarding_program.go | 55 +++++++++++-------- .../hooks/listeners_organization_avatar.go | 4 ++ .../hooks/listeners_organization_cleanup.go | 3 + .../listeners_questionnaire_transform.go | 3 + internal/ent/hooks/listeners_scan_domain.go | 3 + .../ent/hooks/listeners_subscriber_link.go | 3 + internal/ent/hooks/listeners_task_rules.go | 3 + .../ent/hooks/listeners_task_rules_test.go | 4 ++ .../ent/hooks/listeners_trustcenter_cache.go | 3 + .../hooks/listeners_trustcenter_watermark.go | 3 + internal/ent/hooks/listeners_vendorscoring.go | 3 + internal/ent/hooks/listeners_workflow.go | 3 + internal/ent/hooks/onboarding.go | 2 +- internal/ent/hooks/onboarding_test.go | 9 +++ 22 files changed, 97 insertions(+), 51 deletions(-) delete mode 100644 internal/ent/hooks/listener_init.go diff --git a/internal/ent/hooks/listener_init.go b/internal/ent/hooks/listener_init.go deleted file mode 100644 index 1db6648ca3..0000000000 --- a/internal/ent/hooks/listener_init.go +++ /dev/null @@ -1,26 +0,0 @@ -package hooks - -import "github.com/theopenlane/core/v2/pkg/gala" - -func init() { - registerListeners( - CampaignRecurringListeners, - DocumentAssociationListeners, - EntitlementListeners, - FileBackupListeners, - IdentityResolutionListeners, - IntegrationCleanupListeners, - NDAAttestationListeners, - OnboardingProgramListeners, - OrganizationCleanupListeners, - QuestionnaireTransformListeners, - DomainScanListeners, - SubscriberLinkListeners, - TaskRuleListeners, - TrustCenterCacheListeners, - TrustCenterWatermarkListeners, - VendorScoringListeners, - WorkflowListeners, - func() []gala.Registration { return OrganizationAvatarListeners() }, - ) -} diff --git a/internal/ent/hooks/listeners_campaign_recurring.go b/internal/ent/hooks/listeners_campaign_recurring.go index f24235ccb3..28ae733be3 100644 --- a/internal/ent/hooks/listeners_campaign_recurring.go +++ b/internal/ent/hooks/listeners_campaign_recurring.go @@ -17,6 +17,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the campaign recurring listeners so gala setup picks them up automatically +func init() { registerListeners(CampaignRecurringListeners) } + // CampaignRecurringListeners keeps recurring campaign scheduling in sync when activation or recurrence fields change func CampaignRecurringListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_document_associations.go b/internal/ent/hooks/listeners_document_associations.go index 6f454ccebf..7f226cfa02 100644 --- a/internal/ent/hooks/listeners_document_associations.go +++ b/internal/ent/hooks/listeners_document_associations.go @@ -12,6 +12,9 @@ import ( "github.com/theopenlane/core/v2/pkg/jsonx" ) +// init registers the document association listeners so gala setup picks them up automatically +func init() { registerListeners(DocumentAssociationListeners) } + // DocumentAssociationListeners links controls referenced in a new document's details func DocumentAssociationListeners() []gala.Registration { return entityops.ForSchemas([]*entityops.Schema{entityops.SchemaActionPlan, entityops.SchemaInternalPolicy, entityops.SchemaProcedure}, entityops.MutationListener{ diff --git a/internal/ent/hooks/listeners_entitlements.go b/internal/ent/hooks/listeners_entitlements.go index 10cf560972..b5bf60aec2 100644 --- a/internal/ent/hooks/listeners_entitlements.go +++ b/internal/ent/hooks/listeners_entitlements.go @@ -19,6 +19,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the entitlement listeners so gala setup picks them up automatically +func init() { registerListeners(EntitlementListeners) } + // EntitlementListeners keeps Stripe customers and subscriptions in sync with organization // lifecycle and billing changes func EntitlementListeners() []gala.Registration { diff --git a/internal/ent/hooks/listeners_file_backup.go b/internal/ent/hooks/listeners_file_backup.go index 9c18d07e5f..2331237ddb 100644 --- a/internal/ent/hooks/listeners_file_backup.go +++ b/internal/ent/hooks/listeners_file_backup.go @@ -21,6 +21,9 @@ import ( "github.com/theopenlane/core/v2/pkg/metrics" ) +// init registers the file backup listeners so gala setup picks them up automatically +func init() { registerListeners(FileBackupListeners) } + // FileBackupRequest asks for a single file to be replicated to its backup provider type FileBackupRequest struct { FileID string `json:"file_id"` diff --git a/internal/ent/hooks/listeners_identityresolution.go b/internal/ent/hooks/listeners_identityresolution.go index d240fb1b71..7e4ebf4ed5 100644 --- a/internal/ent/hooks/listeners_identityresolution.go +++ b/internal/ent/hooks/listeners_identityresolution.go @@ -21,6 +21,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the identity resolution listeners so gala setup picks them up automatically +func init() { registerListeners(IdentityResolutionListeners) } + // IdentityResolutionListeners resolves directory accounts to identity holders after mutations commit func IdentityResolutionListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_integration_cleanup.go b/internal/ent/hooks/listeners_integration_cleanup.go index 0ba0673077..95695e1a60 100644 --- a/internal/ent/hooks/listeners_integration_cleanup.go +++ b/internal/ent/hooks/listeners_integration_cleanup.go @@ -9,6 +9,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the integration cleanup listeners so gala setup picks them up automatically +func init() { registerListeners(IntegrationCleanupListeners) } + // IntegrationCleanupListeners purges queued integration jobs on removal or disconnect // and reseeds them on reconnect func IntegrationCleanupListeners() []gala.Registration { diff --git a/internal/ent/hooks/listeners_nda_attestation.go b/internal/ent/hooks/listeners_nda_attestation.go index 7fd5ee81e3..470da91e02 100644 --- a/internal/ent/hooks/listeners_nda_attestation.go +++ b/internal/ent/hooks/listeners_nda_attestation.go @@ -14,6 +14,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the NDA attestation listeners so gala setup picks them up automatically +func init() { registerListeners(NDAAttestationListeners) } + // NDAAttestationListeners attests signed trust center NDAs after document data creation func NDAAttestationListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_onboarding_program.go b/internal/ent/hooks/listeners_onboarding_program.go index 6bbcc02977..6b38feea34 100644 --- a/internal/ent/hooks/listeners_onboarding_program.go +++ b/internal/ent/hooks/listeners_onboarding_program.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" "strings" + "time" "entgo.io/ent/dialect/sql" "github.com/theopenlane/iam/auth" @@ -14,12 +15,13 @@ import ( "github.com/theopenlane/core/v2/internal/controls" "github.com/theopenlane/core/v2/internal/ent/entityops" "github.com/theopenlane/core/v2/internal/ent/generated" - "github.com/theopenlane/core/v2/internal/ent/generated/privacy" "github.com/theopenlane/core/v2/internal/ent/generated/standard" "github.com/theopenlane/core/v2/internal/workflows" "github.com/theopenlane/core/v2/pkg/gala" ) +func init() { registerListeners(OnboardingProgramListeners) } + // OnboardingProgramListeners sets up gala to process onboarding requests such as creating programs // and cloning them in the background func OnboardingProgramListeners() []gala.Registration { @@ -27,52 +29,61 @@ func OnboardingProgramListeners() []gala.Registration { entityops.MutationListener{ Schema: entityops.SchemaOnboarding, Operations: []string{entityops.OpCreate}, - Handle: handleOnboardingProgram, + Caller: func(restored *auth.Caller, _ entityops.MutationPayload) *auth.Caller { + return restored.WithCapabilities(auth.CapInternalOperation) + }, + Handle: handleOnboardingProgram, }, } } func handleOnboardingProgram(inv entityops.Invocation, _ entityops.MutationPayload) error { - allowCtx := privacy.DecisionContext(inv.Context, privacy.Allow) - - onboarding, ok, err := entityops.LoadEntity(allowCtx, inv.EntityID, inv.Client.Onboarding.Get) - if err != nil || !ok || onboarding.OrganizationID == "" { + record, ok, err := entityops.LoadEntity(inv.Context, inv.EntityID, inv.Client.Onboarding.Get) + if err != nil || !ok { return err } + if len(record.Compliance) == 0 { + return nil + } + caller := *inv.Caller - caller.OrganizationID = onboarding.OrganizationID + caller.OrganizationID = record.OrganizationID ctx := auth.WithCaller(inv.Context, &caller) - org, ok, err := entityops.LoadEntity(ctx, onboarding.OrganizationID, inv.Client.Organization.Get) + org, ok, err := entityops.LoadEntity(ctx, record.OrganizationID, inv.Client.Organization.Get) if err != nil || !ok { return err } _, err = workflows.WithTx(ctx, inv.Client, nil, func(tx *generated.Tx) (struct{}, error) { - return struct{}{}, createProgram(ctx, tx.Client(), org, onboarding.Compliance) + return struct{}{}, createProgram(ctx, tx.Client(), org, record.Compliance) }) return err } +func generateProgramName(standards []*generated.Standard, year int) string { + if len(standards) == 1 { + return fmt.Sprintf("%s Program %d", standards[0].ShortName, year) + } + + return fmt.Sprintf("Compliance Program %d", year) +} + func createProgram(ctx context.Context, client *generated.Client, org *generated.Organization, complianceData map[string]interface{}) error { - standards, labels, err := resolveOnboardingStandards(ctx, client, org.ID, complianceData) + standards, labels, err := resolveOnboardingStandards(ctx, client, complianceData) if err != nil || len(labels) == 0 { return err } - caller, _ := auth.CallerFromContext(ctx) - - newCaller := *caller - newCaller.OrganizationID = org.ID - - ctx = auth.WithCaller(ctx, &newCaller) - + year := time.Now().Year() + frameworks := strings.Join(labels, ", ") builder := client.Program.Create(). SetOwnerID(org.ID). - SetName(org.DisplayName + " Compliance Program"). - SetFrameworkName(strings.Join(labels, ", ")) + SetName(generateProgramName(standards, year)). + SetDescription(fmt.Sprintf("Track %s compliance activities, evidence, and audit readiness for %d.", frameworks, year)). + SetFrameworkName(frameworks) if auditor, ok := complianceData["auditor_name"].(string); ok && auditor != "" { builder.SetAuditor(auditor) @@ -137,7 +148,7 @@ func getOnboardingFrameworks(complianceData map[string]interface{}) ([]string, e return frameworks, nil } -func resolveOnboardingStandards(ctx context.Context, client *generated.Client, orgID string, complianceData map[string]interface{}) ([]*generated.Standard, []string, error) { +func resolveOnboardingStandards(ctx context.Context, client *generated.Client, complianceData map[string]interface{}) ([]*generated.Standard, []string, error) { frameworks, err := getOnboardingFrameworks(complianceData) if err != nil || len(frameworks) == 0 { return nil, nil, err @@ -148,10 +159,6 @@ func resolveOnboardingStandards(ctx context.Context, client *generated.Client, o return nil, nil, auth.ErrNoAuthUser } - newCaller := *caller - newCaller.OrganizationID = orgID - ctx = auth.WithCaller(ctx, &newCaller) - standards := make([]*generated.Standard, 0, len(frameworks)) labels := make([]string, 0, len(frameworks)) diff --git a/internal/ent/hooks/listeners_organization_avatar.go b/internal/ent/hooks/listeners_organization_avatar.go index bc468f09f0..0551315023 100644 --- a/internal/ent/hooks/listeners_organization_avatar.go +++ b/internal/ent/hooks/listeners_organization_avatar.go @@ -14,6 +14,10 @@ import ( "github.com/theopenlane/httpsling/httpclient" ) +// init registers the organization avatar listeners with their default options so gala +// setup picks them up automatically +func init() { registerListeners(func() []gala.Registration { return OrganizationAvatarListeners() }) } + const avatarFetchTimeout = 5 * time.Second // OrganizationAvatarListenerOption customizes avatar discovery diff --git a/internal/ent/hooks/listeners_organization_cleanup.go b/internal/ent/hooks/listeners_organization_cleanup.go index d801b3e4db..5f966cf036 100644 --- a/internal/ent/hooks/listeners_organization_cleanup.go +++ b/internal/ent/hooks/listeners_organization_cleanup.go @@ -13,6 +13,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the organization cleanup listeners so gala setup picks them up automatically +func init() { registerListeners(OrganizationCleanupListeners) } + // OrganizationCleanupListeners cascades an organization soft delete by hard-deleting everything it owns func OrganizationCleanupListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_questionnaire_transform.go b/internal/ent/hooks/listeners_questionnaire_transform.go index a8df429b61..35204855fc 100644 --- a/internal/ent/hooks/listeners_questionnaire_transform.go +++ b/internal/ent/hooks/listeners_questionnaire_transform.go @@ -26,6 +26,9 @@ import ( "github.com/theopenlane/core/v2/pkg/mapx" ) +// init registers the questionnaire transform listeners so gala setup picks them up automatically +func init() { registerListeners(QuestionnaireTransformListeners) } + // QuestionnaireTransformListeners transforms completed questionnaire document data into // entities using the template's transform configuration func QuestionnaireTransformListeners() []gala.Registration { diff --git a/internal/ent/hooks/listeners_scan_domain.go b/internal/ent/hooks/listeners_scan_domain.go index 9d192897ad..d8216475fe 100644 --- a/internal/ent/hooks/listeners_scan_domain.go +++ b/internal/ent/hooks/listeners_scan_domain.go @@ -16,6 +16,9 @@ import ( "github.com/theopenlane/core/v2/pkg/gala" ) +// init registers the domain scan listeners so gala setup picks them up automatically +func init() { registerListeners(DomainScanListeners) } + // DomainScanListeners submits pending domain scans and requests scans for changed // organization domains func DomainScanListeners() []gala.Registration { diff --git a/internal/ent/hooks/listeners_subscriber_link.go b/internal/ent/hooks/listeners_subscriber_link.go index 9f284a8dbd..9bd3bc6414 100644 --- a/internal/ent/hooks/listeners_subscriber_link.go +++ b/internal/ent/hooks/listeners_subscriber_link.go @@ -14,6 +14,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the subscriber link listeners so gala setup picks them up automatically +func init() { registerListeners(SubscriberLinkListeners) } + // SubscriberLinkListeners links a newly created subscriber to an existing contact and/or user with a matching email func SubscriberLinkListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_task_rules.go b/internal/ent/hooks/listeners_task_rules.go index d5cf2c4a69..d99b7a9bd0 100644 --- a/internal/ent/hooks/listeners_task_rules.go +++ b/internal/ent/hooks/listeners_task_rules.go @@ -28,6 +28,9 @@ import ( "github.com/theopenlane/core/common/enums" ) +// init registers the task rule listeners so gala setup picks them up automatically +func init() { registerListeners(TaskRuleListeners) } + // TaskRuleListeners evaluates schema task rules on mutation and creates suggested tasks func TaskRuleListeners() []gala.Registration { return lo.Map(entityops.TaskRuleEligibleSchemas(), func(schema *entityops.Schema, _ int) gala.Registration { diff --git a/internal/ent/hooks/listeners_task_rules_test.go b/internal/ent/hooks/listeners_task_rules_test.go index 3db5ca0876..ee9c5a8081 100644 --- a/internal/ent/hooks/listeners_task_rules_test.go +++ b/internal/ent/hooks/listeners_task_rules_test.go @@ -4,6 +4,8 @@ package hooks_test import ( "context" + "fmt" + "time" "github.com/brianvoe/gofakeit/v7" "github.com/stretchr/testify/assert" @@ -167,6 +169,8 @@ func (suite *HookTestSuite) TestOnboardingCreatesProgramWithSelectedFrameworks() WithMembers().Only(ctx) require.NoError(t, err) assert.Equal(t, "SOC 2, ISO 27001", created.FrameworkName) + assert.Equal(t, fmt.Sprintf("Compliance Program %d", time.Now().Year()), created.Name) + assert.Equal(t, fmt.Sprintf("Track SOC 2, ISO 27001 compliance activities, evidence, and audit readiness for %d.", time.Now().Year()), created.Description) assert.Equal(t, "Jane Doe", created.Auditor) assert.Equal(t, "jane@example.com", created.AuditorEmail) require.Len(t, created.Edges.Members, 1) diff --git a/internal/ent/hooks/listeners_trustcenter_cache.go b/internal/ent/hooks/listeners_trustcenter_cache.go index ff86e61b30..c273c23dc1 100644 --- a/internal/ent/hooks/listeners_trustcenter_cache.go +++ b/internal/ent/hooks/listeners_trustcenter_cache.go @@ -32,6 +32,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the trust center cache listeners so gala setup picks them up automatically +func init() { registerListeners(TrustCenterCacheListeners) } + // trustCenterSoftDeleteKeys lets cache listeners load soft-deleted rows var trustCenterSoftDeleteKeys = []func(context.Context) context.Context{entx.SkipSoftDelete} diff --git a/internal/ent/hooks/listeners_trustcenter_watermark.go b/internal/ent/hooks/listeners_trustcenter_watermark.go index fd0a467080..d38329c309 100644 --- a/internal/ent/hooks/listeners_trustcenter_watermark.go +++ b/internal/ent/hooks/listeners_trustcenter_watermark.go @@ -9,6 +9,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the trust center watermark listeners so gala setup picks them up automatically +func init() { registerListeners(TrustCenterWatermarkListeners) } + // TrustCenterWatermarkListeners enqueues watermarking jobs when trust center document files change func TrustCenterWatermarkListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_vendorscoring.go b/internal/ent/hooks/listeners_vendorscoring.go index 7387ed9856..e1d6d6c6f1 100644 --- a/internal/ent/hooks/listeners_vendorscoring.go +++ b/internal/ent/hooks/listeners_vendorscoring.go @@ -13,6 +13,9 @@ import ( "github.com/theopenlane/core/v2/pkg/logx" ) +// init registers the vendor scoring listeners so gala setup picks them up automatically +func init() { registerListeners(VendorScoringListeners) } + // VendorScoringListeners recomputes entity risk aggregates when vendor scoring configuration changes func VendorScoringListeners() []gala.Registration { return []gala.Registration{ diff --git a/internal/ent/hooks/listeners_workflow.go b/internal/ent/hooks/listeners_workflow.go index 078fafcf5f..1f018537eb 100644 --- a/internal/ent/hooks/listeners_workflow.go +++ b/internal/ent/hooks/listeners_workflow.go @@ -12,6 +12,9 @@ import ( "github.com/theopenlane/core/v2/pkg/gala" ) +// init registers the workflow listeners so gala setup picks them up automatically +func init() { registerListeners(WorkflowListeners) } + // workflowMutationListenerLabel identifies the workflow mutation listener family in // dependency-resolution skip logs const workflowMutationListenerLabel = "workflow.mutation" diff --git a/internal/ent/hooks/onboarding.go b/internal/ent/hooks/onboarding.go index aa6b9b9a92..7ee1429b6d 100644 --- a/internal/ent/hooks/onboarding.go +++ b/internal/ent/hooks/onboarding.go @@ -57,7 +57,7 @@ func HookOnboarding() ent.Hook { } compliance, _ := m.Compliance() - if _, _, err := resolveOnboardingStandards(ctx, m.Client(), org.ID, compliance); err != nil { + if _, _, err := resolveOnboardingStandards(ctx, m.Client(), compliance); err != nil { return nil, err } diff --git a/internal/ent/hooks/onboarding_test.go b/internal/ent/hooks/onboarding_test.go index f7c25da1cb..a3ac744a6c 100644 --- a/internal/ent/hooks/onboarding_test.go +++ b/internal/ent/hooks/onboarding_test.go @@ -1,7 +1,9 @@ package hooks_test import ( + "fmt" "testing" + "time" "github.com/brianvoe/gofakeit/v7" "github.com/stretchr/testify/assert" @@ -193,6 +195,13 @@ func (suite *HookTestSuite) TestOnboardingProgramFrameworkSelections() { if tc.programCount > 0 { assert.Len(t, programs[0].Edges.Controls, tc.controlCount) + year := time.Now().Year() + expectedName := fmt.Sprintf("Compliance Program %d", year) + if tc.name == "single framework" { + expectedName = fmt.Sprintf("%s Program %d", framework, year) + } + assert.Equal(t, expectedName, programs[0].Name) + assert.Equal(t, fmt.Sprintf("Track %s compliance activities, evidence, and audit readiness for %d.", programs[0].FrameworkName, year), programs[0].Description) } taskCount, err := suite.client.Task.Query().Where( From 0d6aea97a35d094c8f283c7bf582f15698ec5a52 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Sat, 12 Sep 2026 13:29:02 +0100 Subject: [PATCH 08/12] revert init task regenerate --- .../ent/hooks/listeners_onboarding_program.go | 33 +++++++++---------- .../ent/hooks/listeners_task_rules_test.go | 9 ++--- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/internal/ent/hooks/listeners_onboarding_program.go b/internal/ent/hooks/listeners_onboarding_program.go index 6b38feea34..c2860f593f 100644 --- a/internal/ent/hooks/listeners_onboarding_program.go +++ b/internal/ent/hooks/listeners_onboarding_program.go @@ -38,6 +38,8 @@ func OnboardingProgramListeners() []gala.Registration { } func handleOnboardingProgram(inv entityops.Invocation, _ entityops.MutationPayload) error { + // cannot use MutationPayload because the organization_id needed is actually stored by the hook + // so it will not be available here record, ok, err := entityops.LoadEntity(inv.Context, inv.EntityID, inv.Client.Onboarding.Get) if err != nil || !ok { return err @@ -51,13 +53,8 @@ func handleOnboardingProgram(inv entityops.Invocation, _ entityops.MutationPaylo caller.OrganizationID = record.OrganizationID ctx := auth.WithCaller(inv.Context, &caller) - org, ok, err := entityops.LoadEntity(ctx, record.OrganizationID, inv.Client.Organization.Get) - if err != nil || !ok { - return err - } - _, err = workflows.WithTx(ctx, inv.Client, nil, func(tx *generated.Tx) (struct{}, error) { - return struct{}{}, createProgram(ctx, tx.Client(), org, record.Compliance) + return struct{}{}, createProgram(ctx, tx.Client(), record.OrganizationID, record.Compliance) }) return err @@ -71,18 +68,22 @@ func generateProgramName(standards []*generated.Standard, year int) string { return fmt.Sprintf("Compliance Program %d", year) } -func createProgram(ctx context.Context, client *generated.Client, org *generated.Organization, complianceData map[string]interface{}) error { +func createProgram(ctx context.Context, client *generated.Client, orgID string, complianceData map[string]interface{}) error { standards, labels, err := resolveOnboardingStandards(ctx, client, complianceData) if err != nil || len(labels) == 0 { return err } - year := time.Now().Year() + currentYear := time.Now().Year() + frameworks := strings.Join(labels, ", ") + + description := fmt.Sprintf("Track %s compliance activities, evidence, and audit readiness for %d.", frameworks, currentYear) + builder := client.Program.Create(). - SetOwnerID(org.ID). - SetName(generateProgramName(standards, year)). - SetDescription(fmt.Sprintf("Track %s compliance activities, evidence, and audit readiness for %d.", frameworks, year)). + SetOwnerID(orgID). + SetName(generateProgramName(standards, currentYear)). + SetDescription(description). SetFrameworkName(frameworks) if auditor, ok := complianceData["auditor_name"].(string); ok && auditor != "" { @@ -108,6 +109,7 @@ func createProgram(ctx context.Context, client *generated.Client, org *generated if err != nil { return err } + sources, err := client.Control.Query().Where(where...).WithStandard().WithSubcontrols().All(ctx) if err != nil { return err @@ -115,14 +117,14 @@ func createProgram(ctx context.Context, client *generated.Client, org *generated // can't use worker pool here since we are in a tx for _, source := range sources { - input, _ := controls.CreateCloneControlInput(source, &program.ID, org.ID) + input, _ := controls.CreateCloneControlInput(source, &program.ID, orgID) cloned, err := client.Control.Create().SetInput(input).Save(ctx) if err != nil { return err } for _, subcontrol := range source.Edges.Subcontrols { - input := controls.CreateCloneSubcontrolInput(subcontrol, org.ID, controls.SubcontrolToCreate{RefControl: source}) + input := controls.CreateCloneSubcontrolInput(subcontrol, orgID, controls.SubcontrolToCreate{RefControl: source}) input.ControlID = cloned.ID if err := client.Subcontrol.Create().SetInput(*input).Exec(ctx); err != nil { return err @@ -154,11 +156,6 @@ func resolveOnboardingStandards(ctx context.Context, client *generated.Client, c return nil, nil, err } - caller, ok := auth.CallerFromContext(ctx) - if !ok || caller == nil { - return nil, nil, auth.ErrNoAuthUser - } - standards := make([]*generated.Standard, 0, len(frameworks)) labels := make([]string, 0, len(frameworks)) diff --git a/internal/ent/hooks/listeners_task_rules_test.go b/internal/ent/hooks/listeners_task_rules_test.go index ee9c5a8081..f56ebef651 100644 --- a/internal/ent/hooks/listeners_task_rules_test.go +++ b/internal/ent/hooks/listeners_task_rules_test.go @@ -12,12 +12,13 @@ import ( "github.com/stretchr/testify/require" "github.com/theopenlane/core/common/enums" + "github.com/theopenlane/iam/auth" + "github.com/theopenlane/core/v2/internal/ent/generated" "github.com/theopenlane/core/v2/internal/ent/generated/privacy" "github.com/theopenlane/core/v2/internal/ent/generated/program" "github.com/theopenlane/core/v2/internal/ent/generated/task" "github.com/theopenlane/core/v2/internal/ent/taskrules" - "github.com/theopenlane/iam/auth" ) func (suite *HookTestSuite) TestTaskRuleListenersCreateSuggestedTasks() { @@ -167,17 +168,16 @@ func (suite *HookTestSuite) TestOnboardingCreatesProgramWithSelectedFrameworks() created, err := suite.client.Program.Query().Where(program.OwnerIDEQ(onboarding.OrganizationID)). WithControls(func(q *generated.ControlQuery) { q.WithSubcontrols() }). WithMembers().Only(ctx) + require.NoError(t, err) assert.Equal(t, "SOC 2, ISO 27001", created.FrameworkName) assert.Equal(t, fmt.Sprintf("Compliance Program %d", time.Now().Year()), created.Name) - assert.Equal(t, fmt.Sprintf("Track SOC 2, ISO 27001 compliance activities, evidence, and audit readiness for %d.", time.Now().Year()), created.Description) assert.Equal(t, "Jane Doe", created.Auditor) assert.Equal(t, "jane@example.com", created.AuditorEmail) require.Len(t, created.Edges.Members, 1) - assert.Equal(t, user.ID, created.Edges.Members[0].UserID) - assert.Equal(t, enums.RoleAdmin, created.Edges.Members[0].Role) refs := make([]string, 0, len(created.Edges.Controls)) + for _, control := range created.Edges.Controls { refs = append(refs, control.RefCode) assert.Equal(t, onboarding.OrganizationID, control.OwnerID) @@ -195,6 +195,7 @@ func (suite *HookTestSuite) TestOnboardingCreatesProgramWithSelectedFrameworks() tasks, err := suite.client.Task.Query().Where(task.OwnerIDEQ(onboarding.OrganizationID)).All(ctx) require.NoError(t, err) require.NotEmpty(t, tasks) + for _, tk := range tasks { assert.NotEqual(t, "onboarding-framework-soc2", tk.SourceKey) assert.NotEqual(t, "onboarding-framework-iso27001", tk.SourceKey) From aa785262463204290be564fea0ff85103a2ba3c4 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Sat, 12 Sep 2026 20:53:16 +0100 Subject: [PATCH 09/12] fix merge --- common/go.mod | 2 +- common/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/go.mod b/common/go.mod index c26b417762..e0ae95fe5a 100644 --- a/common/go.mod +++ b/common/go.mod @@ -33,7 +33,7 @@ require ( github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/envoyproxy/protoc-gen-validate v1.3.3 // indirect github.com/fxamacker/cbor/v2 v2.9.3 // indirect - github.com/go-jose/go-jose/v4 v4.1.4 // indirect + github.com/go-jose/go-jose/v4 v4.1.5 // indirect github.com/go-logr/logr v1.4.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-openapi/inflect v1.0.0 // indirect diff --git a/common/go.sum b/common/go.sum index ffd5294fb8..31a1d6cb35 100644 --- a/common/go.sum +++ b/common/go.sum @@ -38,8 +38,8 @@ github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMD github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDDHINPLWB7C82oDArY51KfB0= github.com/fxamacker/cbor/v2 v2.9.3 h1:oQBnFATpNdY8gJHTndDDv5Xl4QqNaz51G5LLEPhng3Q= github.com/fxamacker/cbor/v2 v2.9.3/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ= -github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA= -github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= +github.com/go-jose/go-jose/v4 v4.1.5 h1:RjgjO2LOtWOJKUC5wpwY9LR3B3vwVAz6JS2YHfYU6eA= +github.com/go-jose/go-jose/v4 v4.1.5/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= From 5e8f7e2c10b435dce344277bdaa796e4b1755c94 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Sun, 13 Sep 2026 15:45:29 +0100 Subject: [PATCH 10/12] use jsonx --- .../ent/hooks/listeners_onboarding_program.go | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/internal/ent/hooks/listeners_onboarding_program.go b/internal/ent/hooks/listeners_onboarding_program.go index c2860f593f..0a52b4aca5 100644 --- a/internal/ent/hooks/listeners_onboarding_program.go +++ b/internal/ent/hooks/listeners_onboarding_program.go @@ -2,7 +2,6 @@ package hooks import ( "context" - "encoding/json" "fmt" "strings" "time" @@ -18,6 +17,7 @@ import ( "github.com/theopenlane/core/v2/internal/ent/generated/standard" "github.com/theopenlane/core/v2/internal/workflows" "github.com/theopenlane/core/v2/pkg/gala" + "github.com/theopenlane/core/v2/pkg/jsonx" ) func init() { registerListeners(OnboardingProgramListeners) } @@ -49,12 +49,8 @@ func handleOnboardingProgram(inv entityops.Invocation, _ entityops.MutationPaylo return nil } - caller := *inv.Caller - caller.OrganizationID = record.OrganizationID - ctx := auth.WithCaller(inv.Context, &caller) - - _, err = workflows.WithTx(ctx, inv.Client, nil, func(tx *generated.Tx) (struct{}, error) { - return struct{}{}, createProgram(ctx, tx.Client(), record.OrganizationID, record.Compliance) + _, err = workflows.WithTx(inv.Context, inv.Client, nil, func(tx *generated.Tx) (struct{}, error) { + return struct{}{}, createProgram(inv.Context, tx.Client(), record.OrganizationID, record.Compliance) }) return err @@ -62,7 +58,12 @@ func handleOnboardingProgram(inv entityops.Invocation, _ entityops.MutationPaylo func generateProgramName(standards []*generated.Standard, year int) string { if len(standards) == 1 { - return fmt.Sprintf("%s Program %d", standards[0].ShortName, year) + name := standards[0].ShortName + if name == "" { + name = standards[0].Name + } + + return fmt.Sprintf("%s Program %d", name, year) } return fmt.Sprintf("Compliance Program %d", year) @@ -137,13 +138,8 @@ func createProgram(ctx context.Context, client *generated.Client, orgID string, } func getOnboardingFrameworks(complianceData map[string]interface{}) ([]string, error) { - data, err := json.Marshal(complianceData["frameworks"]) - if err != nil { - return nil, err - } - var frameworks []string - if err := json.Unmarshal(data, &frameworks); err != nil { + if err := jsonx.RoundTrip(complianceData["frameworks"], &frameworks); err != nil { return nil, fmt.Errorf("invalid onboarding frameworks: %w", err) } From f0f7646416b7df286e1cb740608171507e8a89e2 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Sun, 13 Sep 2026 17:46:20 +0100 Subject: [PATCH 11/12] ctx already scoped to owner --- internal/ent/hooks/listeners_onboarding_program.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/ent/hooks/listeners_onboarding_program.go b/internal/ent/hooks/listeners_onboarding_program.go index 0a52b4aca5..95d41c91e6 100644 --- a/internal/ent/hooks/listeners_onboarding_program.go +++ b/internal/ent/hooks/listeners_onboarding_program.go @@ -82,7 +82,6 @@ func createProgram(ctx context.Context, client *generated.Client, orgID string, description := fmt.Sprintf("Track %s compliance activities, evidence, and audit readiness for %d.", frameworks, currentYear) builder := client.Program.Create(). - SetOwnerID(orgID). SetName(generateProgramName(standards, currentYear)). SetDescription(description). SetFrameworkName(frameworks) From 4545e506782d60f8e0a34d8d4c2c37e1662eb018 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Sun, 13 Sep 2026 18:19:40 +0100 Subject: [PATCH 12/12] drop hook validation --- internal/ent/hooks/onboarding.go | 3 --- internal/ent/hooks/onboarding_test.go | 15 --------------- 2 files changed, 18 deletions(-) diff --git a/internal/ent/hooks/onboarding.go b/internal/ent/hooks/onboarding.go index 7ee1429b6d..6f09e2ab80 100644 --- a/internal/ent/hooks/onboarding.go +++ b/internal/ent/hooks/onboarding.go @@ -57,9 +57,6 @@ func HookOnboarding() ent.Hook { } compliance, _ := m.Compliance() - if _, _, err := resolveOnboardingStandards(ctx, m.Client(), compliance); err != nil { - return nil, err - } v, err := next.Mutate(ctx, m) if err != nil { diff --git a/internal/ent/hooks/onboarding_test.go b/internal/ent/hooks/onboarding_test.go index a3ac744a6c..f3824a2ab2 100644 --- a/internal/ent/hooks/onboarding_test.go +++ b/internal/ent/hooks/onboarding_test.go @@ -143,7 +143,6 @@ func (suite *HookTestSuite) TestOnboardingProgramFrameworkSelections() { compliance map[string]interface{} programCount int controlCount int - expectedErr string }{ {name: "no compliance"}, {name: "no frameworks", compliance: map[string]interface{}{"existing_controls": true}}, @@ -159,16 +158,6 @@ func (suite *HookTestSuite) TestOnboardingProgramFrameworkSelections() { compliance: map[string]interface{}{"frameworks": []string{"other"}}, programCount: 1, }, - { - name: "unknown framework", - compliance: map[string]interface{}{"frameworks": []string{"missing-framework"}}, - expectedErr: "resolve onboarding framework", - }, - { - name: "invalid framework input", - compliance: map[string]interface{}{"frameworks": []interface{}{123}}, - expectedErr: "invalid onboarding frameworks", - }, } { t.Run(tc.name, func(t *testing.T) { @@ -181,10 +170,6 @@ func (suite *HookTestSuite) TestOnboardingProgramFrameworkSelections() { Compliance: tc.compliance, }).Save(ctx) - if tc.expectedErr != "" { - require.ErrorContains(t, err, tc.expectedErr) - return - } require.NoError(t, err) suite.waitForEvents()