Fix html2text broken

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-05-16 21:19:55 -07:00
parent d5ea5aaea6
commit 72fda01012
5 changed files with 167 additions and 140 deletions

12
go.mod
View File

@@ -1,6 +1,9 @@
module github.com/getprobo/probo
go 1.23.4
go 1.24
// https://github.com/jaytaylor/html2text/issues/67
replace github.com/olekukonko/tablewriter => github.com/olekukonko/tablewriter v0.0.5
require (
gearno.de/ref v0.0.0-20221013162104-a522beda40f4
@@ -38,7 +41,6 @@ require (
github.com/cention-sany/utf7 v0.0.0-20170124080048-26cad61bd60a // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
@@ -51,12 +53,8 @@ require (
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/olekukonko/errors v1.1.0 // indirect
github.com/olekukonko/ll v0.0.7 // indirect
github.com/olekukonko/tablewriter v1.0.5 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
@@ -80,7 +78,7 @@ require (
golang.org/x/sync v0.14.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/text v0.25.0 // indirect
golang.org/x/tools v0.32.0 // indirect
golang.org/x/tools v0.33.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250512202823-5a2f75b736a9 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250512202823-5a2f75b736a9 // indirect
google.golang.org/grpc v1.72.1 // indirect

55
go.sum
View File

@@ -1,12 +1,9 @@
gearno.de/ref v0.0.0-20221013162104-a522beda40f4 h1:tS3oPI89+Y33vZRR/DwbNTewefycz1UzEeDYgMKNdzY=
gearno.de/ref v0.0.0-20221013162104-a522beda40f4/go.mod h1:yMxgb+Im8XTCLBBgpy8p5xE6/OaWkKyfypNd3HPQpLw=
github.com/99designs/gqlgen v0.17.70 h1:xgLIgQuG+Q2L/AE9cW595CT7xCWCe/bpPIFGSfsGSGs=
github.com/99designs/gqlgen v0.17.70/go.mod h1:fvCiqQAu2VLhKXez2xFvLmE47QgAPf/KTPN5XQ4rsHQ=
github.com/99designs/gqlgen v0.17.73 h1:A3Ki+rHWqKbAOlg5fxiZBnz6OjW3nwupDHEG15gEsrg=
github.com/99designs/gqlgen v0.17.73/go.mod h1:2RyGWjy2k7W9jxrs8MOQthXGkD3L3oGr0jXW3Pu8lGg=
github.com/PuerkitoBio/goquery v1.10.2 h1:7fh2BdHcG6VFZsK7toXBT/Bh1z5Wmy8Q9MV9HqT2AM8=
github.com/PuerkitoBio/goquery v1.10.2/go.mod h1:0guWGjcLu9AYC7C1GHnpysHy056u9aEkUHwhdnePMCU=
github.com/PuerkitoBio/goquery v1.10.3 h1:pFYcNSqHxBD06Fpj/KsbStFRsgRATgnf3LeXiUkhzPo=
github.com/PuerkitoBio/goquery v1.10.3/go.mod h1:tMUX0zDMHXYlAQk6p35XxQMqMweEKB7iK7iLNd4RH4Y=
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/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ=
@@ -31,16 +28,12 @@ github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34 h1:ZNTqv4nIdE/DiBfUUfXcLZ/Spcu
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.34/go.mod h1:zf7Vcd1ViW7cPqYWEHLHJkS50X0JS2IKz9Cgaj6ugrs=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 h1:eAh2A4b5IzM/lum78bZ590jy36+d/aFLgKF/4Vd1xPE=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3/go.mod h1:0yKJC/kb8sAnmlYa6Zs3QVYqaC8ug2AbnNChv5Ox3uA=
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.0 h1:lguz0bmOoGzozP9XfRJR1QIayEYo+2vP/No3OfLF0pU=
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.0/go.mod h1:iu6FSzgt+M2/x3Dk8zhycdIcHjEFb36IS8HVUVFoMg0=
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.1 h1:4nm2G6A4pV9rdlWzGMPv4BNtQp22v1hg3yrtkYpeLl8=
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.1/go.mod h1:iu6FSzgt+M2/x3Dk8zhycdIcHjEFb36IS8HVUVFoMg0=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 h1:dM9/92u2F1JbDaGooxTq18wmmFzbJRfXfVfy96/1CXM=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15/go.mod h1:SwFBy2vjtA0vZbjjaFtfN045boopadnoVPhu4Fv66vY=
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15 h1:moLQUoVq91LiqT1nbvzDukyqAlCv89ZmwaHw/ZFlFZg=
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.15/go.mod h1:ZH34PJUc8ApjBIfgQCFvkWcUDBtl/WTD+uiYHjd8igA=
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.2 h1:tWUG+4wZqdMl/znThEk9tcCy8tTMxq8dW0JTgamohrY=
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.2/go.mod h1:U5SNqwhXB3Xe6F47kXvWihPl/ilGaEDe8HD/50Z9wxc=
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3 h1:BRXS0U76Z8wfF+bnkilA2QwpIch6URlm++yPUt9QPmQ=
github.com/aws/aws-sdk-go-v2/service/s3 v1.79.3/go.mod h1:bNXKFFyaiVvWuR6O16h/I1724+aXe/tAkA9/QS01t5k=
github.com/aws/smithy-go v1.22.3 h1:Z//5NuZCSW6R4PhQ93hShNbyBbn8BWCmCVCt+Q8Io5k=
@@ -60,8 +53,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dgryski/trifles v0.0.0-20230903005119-f50d829f2e54 h1:SG7nF6SRlWhcT7cNTs5R6Hk4V2lcmLz2NsG2VnInyNo=
github.com/dgryski/trifles v0.0.0-20230903005119-f50d829f2e54/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA=
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
github.com/go-chi/chi/v5 v5.2.1 h1:KOIHODQj58PmL80G2Eak4WdvUzjSJSm0vG72crDCqb8=
github.com/go-chi/chi/v5 v5.2.1/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops=
github.com/go-chi/cors v1.2.1 h1:xEC8UT3Rlp2QuWNEr4Fs/c2EAGVKBwy/1vHx3bppil4=
@@ -110,23 +101,13 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/olekukonko/errors v1.1.0 h1:RNuGIh15QdDenh+hNvKrJkmxxjV4hcS50Db478Ou5sM=
github.com/olekukonko/errors v1.1.0/go.mod h1:ppzxA5jBKcO1vIpCXQ9ZqgDh8iwODz6OXIGKU8r5m4Y=
github.com/olekukonko/ll v0.0.7 h1:K66xcUlG2qWRhPoLw/cidmbv4pDDJtZuvJGsR5QTzXo=
github.com/olekukonko/ll v0.0.7/go.mod h1:En+sEW0JNETl26+K8eZ6/W4UQ7CYSrrgg/EdIYT2H8g=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/olekukonko/tablewriter v1.0.5 h1:8+uKJXxYcl29TcpfQdd0vL+l6Kul7Sk7sWolfgErDv0=
github.com/olekukonko/tablewriter v1.0.5/go.mod h1:Z22i2ywMkT9sw64nuWAUaH62kb+umiwucGaQNbFh8Bg=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -135,12 +116,8 @@ github.com/prometheus/client_golang v1.22.0 h1:rb93p9lokFEsctTys46VnV1kLCDpVZ0a/
github.com/prometheus/client_golang v1.22.0/go.mod h1:R7ljNsLXhuQXYZYtw6GAE9AZg8Y7vEW5scdCXrWRXC0=
github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
github.com/prometheus/common v0.63.0 h1:YR/EIY1o3mEFP/kZCD7iDMnLPlGyuU2Gb3HIcXnA98k=
github.com/prometheus/common v0.63.0/go.mod h1:VVFF/fBIoToEnWRVkYoXEkq3R3paCoxG9PXP74SnV18=
github.com/prometheus/common v0.64.0 h1:pdZeA+g617P7oGv1CzdTzyeShxAGrTBsolKNOLQPGO4=
github.com/prometheus/common v0.64.0/go.mod h1:0gZns+BLRQ3V6NdaerOhMbwwRbNh9hkGINtQAsP5GS8=
github.com/prometheus/procfs v0.16.0 h1:xh6oHhKwnOJKMYiYBDWmkHqQPyiY40sny36Cmx2bbsM=
github.com/prometheus/procfs v0.16.0/go.mod h1:8veyXUu3nGP7oaCxhX6yeaM5u4stL2FeMXnCqhDthZg=
github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg=
github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
@@ -165,18 +142,12 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/urfave/cli/v2 v2.27.6 h1:VdRdS98FNhKZ8/Az8B7MTyGQmpIr36O1EHybx/LaZ4g=
github.com/urfave/cli/v2 v2.27.6/go.mod h1:3Sevf16NykTbInEnD0yKkjDAeZDS0A6bzhBH5hrMvTQ=
github.com/vektah/gqlparser/v2 v2.5.25 h1:FmWtFEa+invTIzWlWK6Vk7BVEZU/97QBzeI8Z1JjGt8=
github.com/vektah/gqlparser/v2 v2.5.25/go.mod h1:D1/VCZtV3LPnQrcPBeR/q5jkSQIPti0uYCP/RI0gIeo=
github.com/vektah/gqlparser/v2 v2.5.27 h1:RHPD3JOplpk5mP5JGX8RKZkt2/Vwj/PZv0HxTdwFp0s=
github.com/vektah/gqlparser/v2 v2.5.27/go.mod h1:D1/VCZtV3LPnQrcPBeR/q5jkSQIPti0uYCP/RI0gIeo=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
go.gearno.de/crypto/uuid v0.1.0 h1:94BYg7GYItJ6yYZ1GJayb3VYhI9/FjxuR1nFaduR4hE=
go.gearno.de/crypto/uuid v0.1.0/go.mod h1:fnIIvKO9QnsyLO3ZJLJT3r8KZv/p0FOeT5eZKilYWXg=
go.gearno.de/kit v0.0.0-20250325104916-a9c1391b79f0 h1:X6TgcxxGPV0zbjgrLRgnqhqqzI9TQR1LraZl3VIiWd0=
go.gearno.de/kit v0.0.0-20250325104916-a9c1391b79f0/go.mod h1:cEDPOR+WVloqrYmGBoSpHlLqSmTCBjW1j02ntm0Yk9U=
go.gearno.de/kit v0.0.0-20250517021713-79a1e96adc23 h1:gr3W7MxCab9tyb4ci9zs7jk1M37Cw1itGUaCW7QybNg=
go.gearno.de/kit v0.0.0-20250517021713-79a1e96adc23/go.mod h1:cEDPOR+WVloqrYmGBoSpHlLqSmTCBjW1j02ntm0Yk9U=
go.gearno.de/kit v0.0.0-20250517034137-7943a87a6d2f h1:uo0q0g7Sdaj7UKFvB2mySeHgq646upIL7NYqOI1sD3U=
go.gearno.de/kit v0.0.0-20250517034137-7943a87a6d2f/go.mod h1:cEDPOR+WVloqrYmGBoSpHlLqSmTCBjW1j02ntm0Yk9U=
go.gearno.de/x/panicf v0.1.1 h1:E3Cr9NB8Ry2EsvEG/1eHr7kplP3tEjTf5d56dTX64VQ=
@@ -197,48 +168,28 @@ go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce
go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w=
go.opentelemetry.io/otel/trace v1.35.0 h1:dPpEfJu1sDIqruz7BHFG3c7528f6ddfSWfFDVt/xgMs=
go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J8o6xRXLrIkyc=
go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4=
go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4=
go.opentelemetry.io/proto/otlp v1.6.0 h1:jQjP+AQyTf+Fe7OKj/MfkDrmK4MNVtw2NpXsf9fefDI=
go.opentelemetry.io/proto/otlp v1.6.0/go.mod h1:cicgGehlFuNdgZkcALOCh3VE6K/u2tAjzlRhDwmVpZc=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
golang.org/x/crypto v0.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE=
golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc=
golang.org/x/crypto v0.38.0 h1:jt+WWG8IZlBnVbomuhg2Mdq0+BBQaHbtqHEFEigjUV8=
golang.org/x/crypto v0.38.0/go.mod h1:MvrbAqul58NNYPKnOra203SB9vpuZW0e+RRZV+Ggqjw=
golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=
golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY=
golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E=
golang.org/x/net v0.40.0 h1:79Xs7wF06Gbdcg4kdCCIQArK11Z1hr5POQ6+fIYHNuY=
golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds=
golang.org/x/sync v0.13.0 h1:AauUjRAJ9OSnvULf/ARrrVywoJDy0YS2AwQ98I37610=
golang.org/x/sync v0.13.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ=
golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20=
golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/text v0.24.0 h1:dd5Bzh4yt5KYA8f9CJHCP4FB4D51c2c6JvN37xJJkJ0=
golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU=
golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4=
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
golang.org/x/tools v0.31.0 h1:0EedkvKDbh+qistFTd0Bcwe/YLh4vHwWEkiI0toFIBU=
golang.org/x/tools v0.31.0/go.mod h1:naFTU+Cev749tSJRXJlna0T3WxKvb1kWEx15xA4SdmQ=
golang.org/x/tools v0.32.0/go.mod h1:ZxrU41P/wAbZD8EDa6dDCa6XfpkhJ7HFMjHJXfBDu8s=
google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e h1:UdXH7Kzbj+Vzastr5nVfccbmFsmYNygVLSPk1pEfDoY=
google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e/go.mod h1:085qFyf2+XaZlRdCgKNCIZ3afY2p4HHZdoIRpId8F4A=
golang.org/x/tools v0.33.0 h1:4qz2S3zmRxbGIhDIAgjxvFutSvH5EfnsYrRBj0UI0bc=
golang.org/x/tools v0.33.0/go.mod h1:CIJMaWEY88juyUfo7UbgPqbC8rU2OqfAV1h2Qp0oMYI=
google.golang.org/genproto/googleapis/api v0.0.0-20250512202823-5a2f75b736a9 h1:WvBuA5rjZx9SNIzgcU53OohgZy6lKSus++uY4xLaWKc=
google.golang.org/genproto/googleapis/api v0.0.0-20250512202823-5a2f75b736a9/go.mod h1:W3S/3np0/dPWsWLi1h/UymYctGXaGBM2StwzD0y140U=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250414145226-207652e42e2e h1:ztQaXfzEXTmCBvbtWYRhJxW+0iJcz2qXfd38/e9l7bA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250414145226-207652e42e2e/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250512202823-5a2f75b736a9 h1:IkAfh6J/yllPtpYFU0zZN1hUPYdT0ogkBT/9hMxHjvg=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250512202823-5a2f75b736a9/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
google.golang.org/grpc v1.71.1 h1:ffsFWr7ygTUscGPI0KKK6TLrGz0476KUvvsbqWK0rPI=
google.golang.org/grpc v1.71.1/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec=
google.golang.org/grpc v1.72.1 h1:HR03wO6eyZ7lknl75XlxABNVLLFc2PAb6mHlYh756mA=
google.golang.org/grpc v1.72.1/go.mod h1:wH5Aktxcg25y1I3w7H69nHfXdOG3UiadoBtjh3izSDM=
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=

View File

@@ -897,7 +897,7 @@ func (e *executableSchema) Schema() *ast.Schema {
return parsedSchema
}
func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) {
func (e *executableSchema) Complexity(ctx context.Context, typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) {
ec := executionContext{nil, e, 0, 0, nil}
_ = ec
switch typeName + "." + field {
@@ -1012,7 +1012,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Control_measures_args(context.TODO(), rawArgs)
args, err := ec.field_Control_measures_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1031,7 +1031,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Control_policies_args(context.TODO(), rawArgs)
args, err := ec.field_Control_policies_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1414,7 +1414,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Framework_controls_args(context.TODO(), rawArgs)
args, err := ec.field_Framework_controls_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1531,7 +1531,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Measure_controls_args(context.TODO(), rawArgs)
args, err := ec.field_Measure_controls_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1557,7 +1557,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Measure_evidences_args(context.TODO(), rawArgs)
args, err := ec.field_Measure_evidences_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1583,7 +1583,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Measure_risks_args(context.TODO(), rawArgs)
args, err := ec.field_Measure_risks_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1602,7 +1602,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Measure_tasks_args(context.TODO(), rawArgs)
args, err := ec.field_Measure_tasks_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1649,7 +1649,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_assignTask_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_assignTask_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1661,7 +1661,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_confirmEmail_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_confirmEmail_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1673,7 +1673,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createControlMeasureMapping_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createControlMeasureMapping_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1685,7 +1685,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createControlPolicyMapping_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createControlPolicyMapping_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1697,7 +1697,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createDraftPolicyVersion_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createDraftPolicyVersion_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1709,7 +1709,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createFramework_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createFramework_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1721,7 +1721,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createMeasure_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createMeasure_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1733,7 +1733,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createOrganization_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createOrganization_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1745,7 +1745,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createPeople_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createPeople_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1757,7 +1757,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createPolicy_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createPolicy_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1769,7 +1769,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createRisk_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createRisk_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1781,7 +1781,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createRiskMeasureMapping_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createRiskMeasureMapping_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1793,7 +1793,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createRiskPolicyMapping_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createRiskPolicyMapping_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1805,7 +1805,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createTask_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createTask_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1817,7 +1817,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createVendor_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createVendor_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1829,7 +1829,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_createVendorRiskAssessment_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_createVendorRiskAssessment_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1841,7 +1841,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteControlMeasureMapping_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteControlMeasureMapping_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1853,7 +1853,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteControlPolicyMapping_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteControlPolicyMapping_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1865,7 +1865,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteEvidence_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteEvidence_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1877,7 +1877,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteFramework_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteFramework_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1889,7 +1889,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteMeasure_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteMeasure_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1901,7 +1901,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteOrganization_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteOrganization_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1913,7 +1913,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deletePeople_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deletePeople_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1925,7 +1925,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deletePolicy_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deletePolicy_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1937,7 +1937,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteRisk_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteRisk_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1949,7 +1949,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteRiskMeasureMapping_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteRiskMeasureMapping_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1961,7 +1961,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteRiskPolicyMapping_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteRiskPolicyMapping_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1973,7 +1973,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteTask_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteTask_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1985,7 +1985,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteVendor_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteVendor_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1997,7 +1997,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_deleteVendorComplianceReport_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_deleteVendorComplianceReport_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2009,7 +2009,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_fulfillEvidence_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_fulfillEvidence_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2021,7 +2021,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_importFramework_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_importFramework_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2033,7 +2033,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_importMeasure_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_importMeasure_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2045,7 +2045,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_inviteUser_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_inviteUser_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2057,7 +2057,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_publishPolicyVersion_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_publishPolicyVersion_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2069,7 +2069,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_removeUser_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_removeUser_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2081,7 +2081,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_requestEvidence_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_requestEvidence_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2093,7 +2093,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_requestSignature_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_requestSignature_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2105,7 +2105,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_sendSigningNotifications_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_sendSigningNotifications_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2117,7 +2117,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_unassignTask_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_unassignTask_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2129,7 +2129,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_updateFramework_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_updateFramework_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2141,7 +2141,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_updateMeasure_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_updateMeasure_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2153,7 +2153,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_updateOrganization_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_updateOrganization_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2165,7 +2165,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_updatePeople_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_updatePeople_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2177,7 +2177,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_updatePolicyVersion_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_updatePolicyVersion_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2189,7 +2189,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_updateRisk_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_updateRisk_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2201,7 +2201,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_updateTask_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_updateTask_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2213,7 +2213,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_updateVendor_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_updateVendor_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2225,7 +2225,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_uploadMeasureEvidence_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_uploadMeasureEvidence_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2237,7 +2237,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_uploadTaskEvidence_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_uploadTaskEvidence_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2249,7 +2249,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Mutation_uploadVendorComplianceReport_args(context.TODO(), rawArgs)
args, err := ec.field_Mutation_uploadVendorComplianceReport_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2261,7 +2261,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_connectors_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_connectors_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2280,7 +2280,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_frameworks_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_frameworks_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2306,7 +2306,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_measures_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_measures_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2325,7 +2325,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_peoples_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_peoples_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2337,7 +2337,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_policies_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_policies_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2349,7 +2349,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_risks_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_risks_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2361,7 +2361,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_tasks_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_tasks_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2380,7 +2380,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_users_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_users_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2392,7 +2392,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Organization_vendors_args(context.TODO(), rawArgs)
args, err := ec.field_Organization_vendors_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2537,7 +2537,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Policy_controls_args(context.TODO(), rawArgs)
args, err := ec.field_Policy_controls_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2605,7 +2605,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Policy_versions_args(context.TODO(), rawArgs)
args, err := ec.field_Policy_versions_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2694,7 +2694,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_PolicyVersion_signatures_args(context.TODO(), rawArgs)
args, err := ec.field_PolicyVersion_signatures_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2860,7 +2860,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Query_node_args(context.TODO(), rawArgs)
args, err := ec.field_Query_node_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2907,7 +2907,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Risk_controls_args(context.TODO(), rawArgs)
args, err := ec.field_Risk_controls_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -2961,7 +2961,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Risk_measures_args(context.TODO(), rawArgs)
args, err := ec.field_Risk_measures_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -3001,7 +3001,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Risk_policies_args(context.TODO(), rawArgs)
args, err := ec.field_Risk_policies_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -3118,7 +3118,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Task_evidences_args(context.TODO(), rawArgs)
args, err := ec.field_Task_evidences_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -3326,7 +3326,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_User_people_args(context.TODO(), rawArgs)
args, err := ec.field_User_people_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -3387,7 +3387,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Vendor_complianceReports_args(context.TODO(), rawArgs)
args, err := ec.field_Vendor_complianceReports_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -3462,7 +3462,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Vendor_riskAssessments_args(context.TODO(), rawArgs)
args, err := ec.field_Vendor_riskAssessments_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -3754,7 +3754,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
args, err := ec.field_Viewer_organizations_args(context.TODO(), rawArgs)
args, err := ec.field_Viewer_organizations_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -40311,6 +40311,7 @@ func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v any) (
}
func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
_ = sel
res := graphql.MarshalBoolean(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -40327,6 +40328,7 @@ func (ec *executionContext) unmarshalNBusinessImpact2githubᚗcomᚋgetproboᚋp
}
func (ec *executionContext) marshalNBusinessImpact2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐBusinessImpact(ctx context.Context, sel ast.SelectionSet, v coredata.BusinessImpact) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNBusinessImpact2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐBusinessImpact[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -40455,6 +40457,7 @@ func (ec *executionContext) unmarshalNConnectorOrderField2githubᚗcomᚋgetprob
}
func (ec *executionContext) marshalNConnectorOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐConnectorOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.ConnectorOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNConnectorOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐConnectorOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -40560,6 +40563,7 @@ func (ec *executionContext) unmarshalNControlOrderField2githubᚗcomᚋgetprobo
}
func (ec *executionContext) marshalNControlOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐControlOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.ControlOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNControlOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐControlOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -40850,6 +40854,7 @@ func (ec *executionContext) unmarshalNCursorKey2githubᚗcomᚋgetproboᚋprobo
}
func (ec *executionContext) marshalNCursorKey2githubᚗcomᚋgetproboᚋproboᚋpkgᚋpageᚐCursorKey(ctx context.Context, sel ast.SelectionSet, v page.CursorKey) graphql.Marshaler {
_ = sel
res := types.MarshalCursorKeyScalar(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -40866,6 +40871,7 @@ func (ec *executionContext) unmarshalNDataSensitivity2githubᚗcomᚋgetproboᚋ
}
func (ec *executionContext) marshalNDataSensitivity2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐDataSensitivity(ctx context.Context, sel ast.SelectionSet, v coredata.DataSensitivity) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNDataSensitivity2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐDataSensitivity[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -40898,6 +40904,7 @@ func (ec *executionContext) unmarshalNDatetime2timeᚐTime(ctx context.Context,
}
func (ec *executionContext) marshalNDatetime2timeᚐTime(ctx context.Context, sel ast.SelectionSet, v time.Time) graphql.Marshaler {
_ = sel
res := graphql.MarshalTime(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41258,6 +41265,7 @@ func (ec *executionContext) unmarshalNEvidenceOrderField2githubᚗcomᚋgetprobo
}
func (ec *executionContext) marshalNEvidenceOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐEvidenceOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.EvidenceOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(string(v))
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41274,6 +41282,7 @@ func (ec *executionContext) unmarshalNEvidenceState2githubᚗcomᚋgetproboᚋpr
}
func (ec *executionContext) marshalNEvidenceState2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐEvidenceState(ctx context.Context, sel ast.SelectionSet, v coredata.EvidenceState) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNEvidenceState2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐEvidenceState[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41301,6 +41310,7 @@ func (ec *executionContext) unmarshalNEvidenceType2githubᚗcomᚋgetproboᚋpro
}
func (ec *executionContext) marshalNEvidenceType2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐEvidenceType(ctx context.Context, sel ast.SelectionSet, v coredata.EvidenceType) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNEvidenceType2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐEvidenceType[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41410,6 +41420,7 @@ func (ec *executionContext) unmarshalNFrameworkOrderField2githubᚗcomᚋgetprob
}
func (ec *executionContext) marshalNFrameworkOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.FrameworkOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNFrameworkOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐFrameworkOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41453,6 +41464,7 @@ func (ec *executionContext) unmarshalNID2githubᚗcomᚋgetproboᚋproboᚋpkg
}
func (ec *executionContext) marshalNID2githubᚗcomᚋgetproboᚋproboᚋpkgᚋgidᚐGID(ctx context.Context, sel ast.SelectionSet, v gid.GID) graphql.Marshaler {
_ = sel
res := types.MarshalGIDScalar(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41506,6 +41518,7 @@ func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v any) (int,
}
func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.SelectionSet, v int) graphql.Marshaler {
_ = sel
res := graphql.MarshalInt(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41623,6 +41636,7 @@ func (ec *executionContext) unmarshalNMeasureOrderField2githubᚗcomᚋgetprobo
}
func (ec *executionContext) marshalNMeasureOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐMeasureOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.MeasureOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNMeasureOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐMeasureOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41648,6 +41662,7 @@ func (ec *executionContext) unmarshalNMeasureState2githubᚗcomᚋgetproboᚋpro
}
func (ec *executionContext) marshalNMeasureState2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐMeasureState(ctx context.Context, sel ast.SelectionSet, v coredata.MeasureState) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNMeasureState2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐMeasureState[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41689,6 +41704,7 @@ func (ec *executionContext) unmarshalNOrderDirection2githubᚗcomᚋgetproboᚋp
}
func (ec *executionContext) marshalNOrderDirection2githubᚗcomᚋgetproboᚋproboᚋpkgᚋpageᚐOrderDirection(ctx context.Context, sel ast.SelectionSet, v page.OrderDirection) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNOrderDirection2githubᚗcomᚋgetproboᚋproboᚋpkgᚋpageᚐOrderDirection[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41900,6 +41916,7 @@ func (ec *executionContext) unmarshalNPeopleKind2githubᚗcomᚋgetproboᚋprobo
}
func (ec *executionContext) marshalNPeopleKind2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPeopleKind(ctx context.Context, sel ast.SelectionSet, v coredata.PeopleKind) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNPeopleKind2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPeopleKind[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -41929,6 +41946,7 @@ func (ec *executionContext) unmarshalNPeopleOrderField2githubᚗcomᚋgetprobo
}
func (ec *executionContext) marshalNPeopleOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPeopleOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.PeopleOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNPeopleOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPeopleOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42038,6 +42056,7 @@ func (ec *executionContext) unmarshalNPolicyOrderField2githubᚗcomᚋgetprobo
}
func (ec *executionContext) marshalNPolicyOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.PolicyOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNPolicyOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42065,6 +42084,7 @@ func (ec *executionContext) unmarshalNPolicyStatus2githubᚗcomᚋgetproboᚋpro
}
func (ec *executionContext) marshalNPolicyStatus2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyStatus(ctx context.Context, sel ast.SelectionSet, v coredata.PolicyStatus) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNPolicyStatus2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyStatus[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42174,6 +42194,7 @@ func (ec *executionContext) unmarshalNPolicyVersionOrderField2githubᚗcomᚋget
}
func (ec *executionContext) marshalNPolicyVersionOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyVersionOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.PolicyVersionOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNPolicyVersionOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyVersionOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42279,6 +42300,7 @@ func (ec *executionContext) unmarshalNPolicyVersionSignatureOrderField2githubᚗ
}
func (ec *executionContext) marshalNPolicyVersionSignatureOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyVersionSignatureOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.PolicyVersionSignatureOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNPolicyVersionSignatureOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyVersionSignatureOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42306,6 +42328,7 @@ func (ec *executionContext) unmarshalNPolicyVersionSignatureState2githubᚗcom
}
func (ec *executionContext) marshalNPolicyVersionSignatureState2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyVersionSignatureState(ctx context.Context, sel ast.SelectionSet, v coredata.PolicyVersionSignatureState) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNPolicyVersionSignatureState2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyVersionSignatureState[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42487,6 +42510,7 @@ func (ec *executionContext) unmarshalNRiskOrderField2githubᚗcomᚋgetproboᚋp
}
func (ec *executionContext) marshalNRiskOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐRiskOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.RiskOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNRiskOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐRiskOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42512,6 +42536,7 @@ func (ec *executionContext) unmarshalNRiskTreatment2githubᚗcomᚋgetproboᚋpr
}
func (ec *executionContext) marshalNRiskTreatment2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐRiskTreatment(ctx context.Context, sel ast.SelectionSet, v coredata.RiskTreatment) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNRiskTreatment2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐRiskTreatment[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42561,6 +42586,7 @@ func (ec *executionContext) unmarshalNString2string(ctx context.Context, v any)
}
func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42685,6 +42711,7 @@ func (ec *executionContext) unmarshalNTaskOrderField2githubᚗcomᚋgetproboᚋp
}
func (ec *executionContext) marshalNTaskOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐTaskOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.TaskOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(string(v))
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42701,6 +42728,7 @@ func (ec *executionContext) unmarshalNTaskState2githubᚗcomᚋgetproboᚋprobo
}
func (ec *executionContext) marshalNTaskState2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐTaskState(ctx context.Context, sel ast.SelectionSet, v coredata.TaskState) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNTaskState2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐTaskState[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -42898,6 +42926,7 @@ func (ec *executionContext) unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgen
}
func (ec *executionContext) marshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx context.Context, sel ast.SelectionSet, v graphql.Upload) graphql.Marshaler {
_ = sel
res := graphql.MarshalUpload(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -43049,6 +43078,7 @@ func (ec *executionContext) unmarshalNUserOrderField2githubᚗcomᚋgetproboᚋp
}
func (ec *executionContext) marshalNUserOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐUserOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.UserOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNUserOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐUserOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -43166,6 +43196,7 @@ func (ec *executionContext) unmarshalNVendorComplianceReportOrderField2githubᚗ
}
func (ec *executionContext) marshalNVendorComplianceReportOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.VendorComplianceReportOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNVendorComplianceReportOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐVendorComplianceReportOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -43261,6 +43292,7 @@ func (ec *executionContext) unmarshalNVendorOrderField2githubᚗcomᚋgetprobo
}
func (ec *executionContext) marshalNVendorOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐVendorOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.VendorOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(string(v))
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -43355,6 +43387,7 @@ func (ec *executionContext) unmarshalNVendorRiskAssessmentOrderField2githubᚗco
}
func (ec *executionContext) marshalNVendorRiskAssessmentOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.VendorRiskAssessmentOrderField) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(marshalNVendorRiskAssessmentOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐVendorRiskAssessmentOrderField[v])
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -43445,6 +43478,7 @@ func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Con
}
func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -43633,6 +43667,7 @@ func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v a
}
func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
_ = sel
res := graphql.MarshalString(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -43648,6 +43683,8 @@ func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v any) (
}
func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
_ = sel
_ = ctx
res := graphql.MarshalBoolean(v)
return res
}
@@ -43664,6 +43701,8 @@ func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalBoolean(*v)
return res
}
@@ -43696,6 +43735,8 @@ func (ec *executionContext) marshalOCursorKey2ᚖgithubᚗcomᚋgetproboᚋprobo
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := types.MarshalCursorKeyScalar(*v)
return res
}
@@ -43712,6 +43753,8 @@ func (ec *executionContext) marshalODatetime2ᚖtimeᚐTime(ctx context.Context,
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalTime(*v)
return res
}
@@ -43728,6 +43771,8 @@ func (ec *executionContext) marshalODuration2ᚖtimeᚐDuration(ctx context.Cont
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalDuration(*v)
return res
}
@@ -43760,6 +43805,8 @@ func (ec *executionContext) marshalOID2ᚖgithubᚗcomᚋgetproboᚋproboᚋpkg
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := types.MarshalGIDScalar(*v)
return res
}
@@ -43776,6 +43823,8 @@ func (ec *executionContext) marshalOInt2ᚖint(ctx context.Context, sel ast.Sele
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalInt(*v)
return res
}
@@ -43808,6 +43857,8 @@ func (ec *executionContext) marshalOMeasureState2ᚖgithubᚗcomᚋgetproboᚋpr
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalString(marshalOMeasureState2ᚖgithubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐMeasureState[*v])
return res
}
@@ -43855,6 +43906,8 @@ func (ec *executionContext) marshalOPeopleKind2ᚖgithubᚗcomᚋgetproboᚋprob
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalString(marshalOPeopleKind2ᚖgithubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPeopleKind[*v])
return res
}
@@ -43901,6 +43954,8 @@ func (ec *executionContext) marshalOPolicyStatus2ᚖgithubᚗcomᚋgetproboᚋpr
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalString(marshalOPolicyStatus2ᚖgithubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐPolicyStatus[*v])
return res
}
@@ -43961,6 +44016,8 @@ func (ec *executionContext) marshalORiskTreatment2ᚖgithubᚗcomᚋgetproboᚋp
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalString(marshalORiskTreatment2ᚖgithubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐRiskTreatment[*v])
return res
}
@@ -44028,6 +44085,8 @@ func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel as
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalString(*v)
return res
}
@@ -44060,6 +44119,8 @@ func (ec *executionContext) marshalOTaskState2ᚖgithubᚗcomᚋgetproboᚋprobo
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalString(marshalOTaskState2ᚖgithubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐTaskState[*v])
return res
}
@@ -44087,6 +44148,8 @@ func (ec *executionContext) marshalOUpload2ᚖgithubᚗcomᚋ99designsᚋgqlgen
if v == nil {
return graphql.Null
}
_ = sel
_ = ctx
res := graphql.MarshalUpload(*v)
return res
}

View File

@@ -3,6 +3,7 @@
package types
import (
"bytes"
"fmt"
"io"
"strconv"
@@ -1090,3 +1091,17 @@ func (e *OrganizationOrderField) UnmarshalGQL(v any) error {
func (e OrganizationOrderField) MarshalGQL(w io.Writer) {
fmt.Fprint(w, strconv.Quote(e.String()))
}
func (e *OrganizationOrderField) UnmarshalJSON(b []byte) error {
s, err := strconv.Unquote(string(b))
if err != nil {
return err
}
return e.UnmarshalGQL(s)
}
func (e OrganizationOrderField) MarshalJSON() ([]byte, error) {
var buf bytes.Buffer
e.MarshalGQL(&buf)
return buf.Bytes(), nil
}

View File

@@ -2,7 +2,7 @@ package console_v1
// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.
// Code generated by github.com/99designs/gqlgen version v0.17.70
// Code generated by github.com/99designs/gqlgen version v0.17.73
import (
"context"