From 8d6779344c744c3eb9dd087aede5c7e2912aa4b4 Mon Sep 17 00:00:00 2001 From: Sam Lawson Date: Tue, 23 Jan 2024 15:55:53 -0800 Subject: [PATCH 01/14] addressed type assertions --- pkg/graph/generated/generated.go | 8 +++---- pkg/graph/resolvers/trb_admin_note.go | 8 +++---- pkg/graph/resolvers/trb_advice_letter.go | 11 +++++----- .../trb_advice_letter_recommendation.go | 10 +++++---- pkg/graph/resolvers/trb_request_form.go | 21 ++++++------------- pkg/graph/schema.graphql | 8 +++---- 6 files changed, 30 insertions(+), 36 deletions(-) diff --git a/pkg/graph/generated/generated.go b/pkg/graph/generated/generated.go index d68ddee285..188bd1cf1c 100644 --- a/pkg/graph/generated/generated.go +++ b/pkg/graph/generated/generated.go @@ -9443,7 +9443,7 @@ TRBRequestChanges represents the possible changes you can make to a TRB request Fields explicitly set with NULL will be unset, and omitted fields will be left unchanged. https://gqlgen.com/reference/changesets/ """ -input TRBRequestChanges @goModel(model: "map[string]interface{}") { +input TRBRequestChanges @goModel(model: "map[string]interface{}") { # no change, i think name: String archived: Boolean type: TRBRequestType @@ -10081,7 +10081,7 @@ Creating and reading admin notes with category-specific data was added in https: If updating admin notes needs to handle category-specific data, break it up into five separate mutations with their own input types, similar to the different CreateTRBAdminNote* inputs. """ -input UpdateTRBAdminNoteInput @goModel(model: "map[string]interface{}") { +input UpdateTRBAdminNoteInput @goModel(model: "map[string]interface{}") { # done id: UUID! category: TRBAdminNoteCategory noteText: HTML @@ -10090,7 +10090,7 @@ input UpdateTRBAdminNoteInput @goModel(model: "map[string]interface{}") { """ The data needed to update a TRB advice letter """ -input UpdateTRBAdviceLetterInput @goModel(model: "map[string]interface{}") { +input UpdateTRBAdviceLetterInput @goModel(model: "map[string]interface{}") { # done trbRequestId: UUID! meetingSummary: HTML nextSteps: HTML @@ -10137,7 +10137,7 @@ input CreateTRBAdviceLetterRecommendationInput { """ The input required to update a recommendation to a TRB advice letter """ -input UpdateTRBAdviceLetterRecommendationInput @goModel(model: "map[string]interface{}") { +input UpdateTRBAdviceLetterRecommendationInput @goModel(model: "map[string]interface{}") { # done id: UUID! title: String recommendation: HTML diff --git a/pkg/graph/resolvers/trb_admin_note.go b/pkg/graph/resolvers/trb_admin_note.go index 601c406116..5f8b5b49dd 100644 --- a/pkg/graph/resolvers/trb_admin_note.go +++ b/pkg/graph/resolvers/trb_admin_note.go @@ -267,14 +267,14 @@ func GetTRBAdminNoteCategorySpecificData(ctx context.Context, store *storage.Sto // as well as updating the fields on the admin note record, many-to-many links to documents/recommendations may need to be deleted // (which would require implementing storage methods to delete those records) func UpdateTRBAdminNote(ctx context.Context, store *storage.Store, input map[string]interface{}) (*models.TRBAdminNote, error) { - idStr, idFound := input["id"] + idIface, idFound := input["id"] if !idFound { return nil, errors.New("missing required property id") } - id, err := uuid.Parse(idStr.(string)) - if err != nil { - return nil, err + id, ok := idIface.(uuid.UUID) + if !ok { + return nil, fmt.Errorf("unable to convert incoming updateTRBAdminNote id to uuid: %v", idIface) } note, err := store.GetTRBAdminNoteByID(ctx, id) diff --git a/pkg/graph/resolvers/trb_advice_letter.go b/pkg/graph/resolvers/trb_advice_letter.go index 22b3f0e7f5..5ed24bb8bb 100644 --- a/pkg/graph/resolvers/trb_advice_letter.go +++ b/pkg/graph/resolvers/trb_advice_letter.go @@ -3,6 +3,7 @@ package resolvers import ( "context" "errors" + "fmt" "github.com/google/uuid" "golang.org/x/sync/errgroup" @@ -30,17 +31,17 @@ func CreateTRBAdviceLetter(ctx context.Context, store *storage.Store, trbRequest // UpdateTRBAdviceLetter handles general updates to a TRB advice letter func UpdateTRBAdviceLetter(ctx context.Context, store *storage.Store, input map[string]interface{}) (*models.TRBAdviceLetter, error) { - trbRequestIDStr, idFound := input["trbRequestId"] + idIface, idFound := input["trbRequestId"] if !idFound { return nil, errors.New("missing required property trbRequestId") } - trbRequestID, err := uuid.Parse(trbRequestIDStr.(string)) - if err != nil { - return nil, err + id, ok := idIface.(uuid.UUID) + if !ok { + return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid: %v", idIface) } - letter, err := store.GetTRBAdviceLetterByTRBRequestID(ctx, trbRequestID) + letter, err := store.GetTRBAdviceLetterByTRBRequestID(ctx, id) if err != nil { return nil, err } diff --git a/pkg/graph/resolvers/trb_advice_letter_recommendation.go b/pkg/graph/resolvers/trb_advice_letter_recommendation.go index 72841bf36d..0b088eef07 100644 --- a/pkg/graph/resolvers/trb_advice_letter_recommendation.go +++ b/pkg/graph/resolvers/trb_advice_letter_recommendation.go @@ -3,6 +3,7 @@ package resolvers import ( "context" "errors" + "fmt" "slices" "github.com/google/uuid" @@ -40,14 +41,15 @@ func GetTRBAdviceLetterRecommendationsByTRBRequestID(ctx context.Context, store // UpdateTRBAdviceLetterRecommendation updates a TRBAdviceLetterRecommendation record in the database func UpdateTRBAdviceLetterRecommendation(ctx context.Context, store *storage.Store, changes map[string]interface{}) (*models.TRBAdviceLetterRecommendation, error) { - idStr, idFound := changes["id"] + idIface, idFound := changes["id"] if !idFound { return nil, errors.New("missing required property trbRequestId") } - id, err := uuid.Parse(idStr.(string)) - if err != nil { - return nil, err + // conv uuid first + id, ok := idIface.(uuid.UUID) + if !ok { + return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid: %v", idIface) } // This will fail to fetch an existing recommendation if the recommendation is deleted, which is sufficient protection diff --git a/pkg/graph/resolvers/trb_request_form.go b/pkg/graph/resolvers/trb_request_form.go index aa04cd81b1..b64edb3ad7 100644 --- a/pkg/graph/resolvers/trb_request_form.go +++ b/pkg/graph/resolvers/trb_request_form.go @@ -3,6 +3,7 @@ package resolvers import ( "context" "errors" + "fmt" "time" "github.com/google/uuid" @@ -24,14 +25,14 @@ func UpdateTRBRequestForm( fetchUserInfo func(context.Context, string) (*models.UserInfo, error), input map[string]interface{}, ) (*models.TRBRequestForm, error) { - idStr, idFound := input["trbRequestId"] + idIface, idFound := input["trbRequestId"] if !idFound { return nil, errors.New("missing required property trbRequestId") } - id, err := uuid.Parse(idStr.(string)) - if err != nil { - return nil, err + id, ok := idIface.(uuid.UUID) + if !ok { + return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid: %v", idIface) } isSubmitted := false @@ -83,17 +84,7 @@ func UpdateTRBRequestForm( if systemIntakes, systemIntakesProvided := input["systemIntakes"]; systemIntakesProvided { delete(input, "systemIntakes") - systemIntakeUUIDs := []uuid.UUID{} - if systemIntakeIFCs, ok := systemIntakes.([]interface{}); ok { - for _, systemIntakeIFC := range systemIntakeIFCs { - if systemIntakeStr, ok := systemIntakeIFC.(string); ok { - systemIntakeUUID, parseErr := uuid.Parse(systemIntakeStr) - if parseErr != nil { - return nil, parseErr - } - systemIntakeUUIDs = append(systemIntakeUUIDs, systemIntakeUUID) - } - } + if systemIntakeUUIDs, ok := systemIntakes.([]uuid.UUID); ok { _, err = store.CreateTRBRequestSystemIntakes(ctx, id, systemIntakeUUIDs) if err != nil { return nil, err diff --git a/pkg/graph/schema.graphql b/pkg/graph/schema.graphql index bb20ddd3a3..cb480c106b 100644 --- a/pkg/graph/schema.graphql +++ b/pkg/graph/schema.graphql @@ -1823,7 +1823,7 @@ TRBRequestChanges represents the possible changes you can make to a TRB request Fields explicitly set with NULL will be unset, and omitted fields will be left unchanged. https://gqlgen.com/reference/changesets/ """ -input TRBRequestChanges @goModel(model: "map[string]interface{}") { +input TRBRequestChanges @goModel(model: "map[string]interface{}") { # no change, i think name: String archived: Boolean type: TRBRequestType @@ -2461,7 +2461,7 @@ Creating and reading admin notes with category-specific data was added in https: If updating admin notes needs to handle category-specific data, break it up into five separate mutations with their own input types, similar to the different CreateTRBAdminNote* inputs. """ -input UpdateTRBAdminNoteInput @goModel(model: "map[string]interface{}") { +input UpdateTRBAdminNoteInput @goModel(model: "map[string]interface{}") { # done id: UUID! category: TRBAdminNoteCategory noteText: HTML @@ -2470,7 +2470,7 @@ input UpdateTRBAdminNoteInput @goModel(model: "map[string]interface{}") { """ The data needed to update a TRB advice letter """ -input UpdateTRBAdviceLetterInput @goModel(model: "map[string]interface{}") { +input UpdateTRBAdviceLetterInput @goModel(model: "map[string]interface{}") { # done trbRequestId: UUID! meetingSummary: HTML nextSteps: HTML @@ -2517,7 +2517,7 @@ input CreateTRBAdviceLetterRecommendationInput { """ The input required to update a recommendation to a TRB advice letter """ -input UpdateTRBAdviceLetterRecommendationInput @goModel(model: "map[string]interface{}") { +input UpdateTRBAdviceLetterRecommendationInput @goModel(model: "map[string]interface{}") { # done id: UUID! title: String recommendation: HTML From a5c2d7a07b6b4bac5b8e88f66f734fe694e49f39 Mon Sep 17 00:00:00 2001 From: Sam Lawson Date: Wed, 24 Jan 2024 13:48:48 -0800 Subject: [PATCH 02/14] upgrade package, update tests --- cmd/devdata/trb_request.go | 2 +- go.mod | 2 +- go.sum | 2 ++ .../resolvers/trb_advice_letter_recommendation_test.go | 4 ++-- pkg/graph/resolvers/trb_request_form_test.go | 4 ++-- pkg/graph/resolvers/trb_request_status_test.go | 8 ++++---- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/cmd/devdata/trb_request.go b/cmd/devdata/trb_request.go index 539fdc6c84..cd0859fbfb 100644 --- a/cmd/devdata/trb_request.go +++ b/cmd/devdata/trb_request.go @@ -428,7 +428,7 @@ func (s *seederConfig) seedTRBWithForm(ctx context.Context, trbName *string, isS } _, err = s.updateTRBRequestForm(ctx, map[string]interface{}{ - "trbRequestId": trb.ID.String(), + "trbRequestId": trb.ID, "isSubmitted": isSubmitted, "component": "Center for Medicare", "needsAssistanceWith": "Something is wrong with my system", diff --git a/go.mod b/go.mod index 96e616093e..ea9614bf44 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cmsgov/easi-app go 1.21 require ( - github.com/99designs/gqlgen v0.17.39 + github.com/99designs/gqlgen v0.17.40 github.com/alecthomas/jsonschema v0.0.0-20211228220459-151e3c21f49d github.com/aws/aws-sdk-go v1.49.21 github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a diff --git a/go.sum b/go.sum index 63778e21d1..c3187d5244 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/99designs/gqlgen v0.17.39 h1:wPTAyc2fqVjAWT5DsJ21k/lLudgnXzURwbsjVNegFpU= github.com/99designs/gqlgen v0.17.39/go.mod h1:b62q1USk82GYIVjC60h02YguAZLqYZtvWml8KkhJps4= +github.com/99designs/gqlgen v0.17.40 h1:/l8JcEVQ93wqIfmH9VS1jsAkwm6eAF1NwQn3N+SDqBY= +github.com/99designs/gqlgen v0.17.40/go.mod h1:b62q1USk82GYIVjC60h02YguAZLqYZtvWml8KkhJps4= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRBij0P8= diff --git a/pkg/graph/resolvers/trb_advice_letter_recommendation_test.go b/pkg/graph/resolvers/trb_advice_letter_recommendation_test.go index 139cc82f07..f794645fc1 100644 --- a/pkg/graph/resolvers/trb_advice_letter_recommendation_test.go +++ b/pkg/graph/resolvers/trb_advice_letter_recommendation_test.go @@ -44,7 +44,7 @@ func (s *ResolverSuite) TestTRBAdviceLetterRecommendationCRUD() { linksChanges := []string{"bing.com", "yahoo.com", "pets.com"} changes := map[string]interface{}{ - "id": created.ID.String(), + "id": created.ID, "trbRequestId": trbRequest.ID.String(), "title": "Restart your PC", "recommendation": "I recommend you restart your PC", @@ -93,7 +93,7 @@ func (s *ResolverSuite) TestTRBAdviceLetterRecommendationCRUD() { // Attempt to update the recommendation linksChanges := []string{"bing.com", "yahoo.com", "pets.com"} changes := map[string]interface{}{ - "id": created.ID.String(), + "id": created.ID, "trbRequestId": trbRequest.ID.String(), "title": "Restart your PC", "recommendation": "I recommend you restart your PC", diff --git a/pkg/graph/resolvers/trb_request_form_test.go b/pkg/graph/resolvers/trb_request_form_test.go index 0a4414d336..07d1ef1802 100644 --- a/pkg/graph/resolvers/trb_request_form_test.go +++ b/pkg/graph/resolvers/trb_request_form_test.go @@ -74,7 +74,7 @@ func (s *ResolverSuite) TestCreateTRBRequestForm() { formChanges := map[string]interface{}{ "isSubmitted": false, - "trbRequestId": trbRequest.ID.String(), + "trbRequestId": trbRequest.ID, "component": "Taco Cart", "needsAssistanceWith": "Some of the things", "hasSolutionInMind": true, @@ -133,7 +133,7 @@ func (s *ResolverSuite) TestCreateTRBRequestForm() { s.Nil(updatedForm.SubmittedAt) submitChanges := map[string]interface{}{ - "trbRequestId": trbRequest.ID.String(), + "trbRequestId": trbRequest.ID, "isSubmitted": true, } submittedForm, err := UpdateTRBRequestForm(ctx, s.testConfigs.Store, &emailClient, stubFetchUserInfo, submitChanges) diff --git a/pkg/graph/resolvers/trb_request_status_test.go b/pkg/graph/resolvers/trb_request_status_test.go index ccacef674d..bb940fbcf1 100644 --- a/pkg/graph/resolvers/trb_request_status_test.go +++ b/pkg/graph/resolvers/trb_request_status_test.go @@ -95,7 +95,7 @@ func (s *ResolverSuite) TestTRBRequestStatus() { s.NotNil(form) formChanges := map[string]interface{}{ "isSubmitted": false, - "trbRequestId": trb.ID.String(), + "trbRequestId": trb.ID, "component": "Taco Cart", } _, err = UpdateTRBRequestForm(ctx, store, &emailClient, stubFetchUserInfo, formChanges) @@ -123,7 +123,7 @@ func (s *ResolverSuite) TestTRBRequestStatus() { s.NotNil(form) formChanges = map[string]interface{}{ "isSubmitted": true, - "trbRequestId": trb.ID.String(), + "trbRequestId": trb.ID, "component": "Taco Cart", } _, err = UpdateTRBRequestForm(ctx, store, &emailClient, stubFetchUserInfo, formChanges) @@ -251,7 +251,7 @@ func (s *ResolverSuite) TestTRBRequestStatus() { s.NoError(err) s.NotNil(adviceLetter) adviceLetterChanges := map[string]interface{}{ - "trbRequestId": trb.ID.String(), + "trbRequestId": trb.ID, "meetingSummary": "Talked about stuff", } _, err = UpdateTRBAdviceLetter(ctx, store, adviceLetterChanges) @@ -315,7 +315,7 @@ func (s *ResolverSuite) TestTRBRequestStatus() { // Test the "FOLLOW_UP_REQUESTED" status by updating the advice letter to recommend follow up adviceLetterChanges = map[string]interface{}{ - "trbRequestId": trb.ID.String(), + "trbRequestId": trb.ID, "isFollowupRecommended": true, } _, err = UpdateTRBAdviceLetter(ctx, store, adviceLetterChanges) From 720d5ba266be9f303faf0699c2fed7b32ff16eed Mon Sep 17 00:00:00 2001 From: Sam Lawson Date: Thu, 1 Feb 2024 13:53:34 -0800 Subject: [PATCH 03/14] generate --- go.sum | 2 - pkg/graph/generated/generated.go | 462 ++++++++++++++++++++++++++++++- 2 files changed, 457 insertions(+), 7 deletions(-) diff --git a/go.sum b/go.sum index 2bd26eb84e..6c6ee99780 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -github.com/99designs/gqlgen v0.17.39 h1:wPTAyc2fqVjAWT5DsJ21k/lLudgnXzURwbsjVNegFpU= -github.com/99designs/gqlgen v0.17.39/go.mod h1:b62q1USk82GYIVjC60h02YguAZLqYZtvWml8KkhJps4= github.com/99designs/gqlgen v0.17.40 h1:/l8JcEVQ93wqIfmH9VS1jsAkwm6eAF1NwQn3N+SDqBY= github.com/99designs/gqlgen v0.17.40/go.mod h1:b62q1USk82GYIVjC60h02YguAZLqYZtvWml8KkhJps4= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= diff --git a/pkg/graph/generated/generated.go b/pkg/graph/generated/generated.go index f4dcb0ec41..b298bc3dd8 100644 --- a/pkg/graph/generated/generated.go +++ b/pkg/graph/generated/generated.go @@ -7568,6 +7568,7 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { ec.unmarshalInputSystemIntakeRequesterWithComponentInput, ec.unmarshalInputSystemIntakeRetireLCIDInput, ec.unmarshalInputSystemIntakeUpdateLCIDInput, + ec.unmarshalInputTRBRequestChanges, ec.unmarshalInputUpdateAccessibilityRequestCedarSystemInput, ec.unmarshalInputUpdateAccessibilityRequestStatus, ec.unmarshalInputUpdateSystemIntakeAdminLeadInput, @@ -7579,9 +7580,13 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { ec.unmarshalInputUpdateSystemIntakeNoteInput, ec.unmarshalInputUpdateSystemIntakeRequestDetailsInput, ec.unmarshalInputUpdateSystemIntakeReviewDatesInput, + ec.unmarshalInputUpdateTRBAdminNoteInput, + ec.unmarshalInputUpdateTRBAdviceLetterInput, + ec.unmarshalInputUpdateTRBAdviceLetterRecommendationInput, ec.unmarshalInputUpdateTRBAdviceLetterRecommendationOrderInput, ec.unmarshalInputUpdateTRBRequestAttendeeInput, ec.unmarshalInputUpdateTRBRequestConsultMeetingTimeInput, + ec.unmarshalInputUpdateTRBRequestFormInput, ec.unmarshalInputUpdateTRBRequestFundingSourcesInput, ec.unmarshalInputUpdateTRBRequestTRBLeadInput, ec.unmarshalInputUpdateTestDateInput, @@ -58103,6 +58108,53 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex return it, nil } +func (ec *executionContext) unmarshalInputTRBRequestChanges(ctx context.Context, obj interface{}) (map[string]interface{}, error) { + it := make(map[string]interface{}, len(obj.(map[string]interface{}))) + asMap := map[string]interface{}{} + for k, v := range obj.(map[string]interface{}) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"name", "archived", "type"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "name": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["name"] = data + case "archived": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("archived")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it["archived"] = data + case "type": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) + data, err := ec.unmarshalOTRBRequestType2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBRequestType(ctx, v) + if err != nil { + return it, err + } + it["type"] = data + } + } + + return it, nil +} + func (ec *executionContext) unmarshalInputUpdateAccessibilityRequestCedarSystemInput(ctx context.Context, obj interface{}) (model.UpdateAccessibilityRequestCedarSystemInput, error) { var it model.UpdateAccessibilityRequestCedarSystemInput asMap := map[string]interface{}{} @@ -58683,6 +58735,174 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeReviewDatesInput(ctx return it, nil } +func (ec *executionContext) unmarshalInputUpdateTRBAdminNoteInput(ctx context.Context, obj interface{}) (map[string]interface{}, error) { + it := make(map[string]interface{}, len(obj.(map[string]interface{}))) + asMap := map[string]interface{}{} + for k, v := range obj.(map[string]interface{}) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"id", "category", "noteText"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "id": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) + data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) + if err != nil { + return it, err + } + it["id"] = data + case "category": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category")) + data, err := ec.unmarshalOTRBAdminNoteCategory2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBAdminNoteCategory(ctx, v) + if err != nil { + return it, err + } + it["category"] = data + case "noteText": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("noteText")) + data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) + if err != nil { + return it, err + } + it["noteText"] = data + } + } + + return it, nil +} + +func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterInput(ctx context.Context, obj interface{}) (map[string]interface{}, error) { + it := make(map[string]interface{}, len(obj.(map[string]interface{}))) + asMap := map[string]interface{}{} + for k, v := range obj.(map[string]interface{}) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"trbRequestId", "meetingSummary", "nextSteps", "isFollowupRecommended", "followupPoint"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "trbRequestId": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) + data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) + if err != nil { + return it, err + } + it["trbRequestId"] = data + case "meetingSummary": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("meetingSummary")) + data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) + if err != nil { + return it, err + } + it["meetingSummary"] = data + case "nextSteps": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) + data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) + if err != nil { + return it, err + } + it["nextSteps"] = data + case "isFollowupRecommended": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isFollowupRecommended")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it["isFollowupRecommended"] = data + case "followupPoint": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("followupPoint")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["followupPoint"] = data + } + } + + return it, nil +} + +func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterRecommendationInput(ctx context.Context, obj interface{}) (map[string]interface{}, error) { + it := make(map[string]interface{}, len(obj.(map[string]interface{}))) + asMap := map[string]interface{}{} + for k, v := range obj.(map[string]interface{}) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"id", "title", "recommendation", "links"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "id": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) + data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) + if err != nil { + return it, err + } + it["id"] = data + case "title": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["title"] = data + case "recommendation": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("recommendation")) + data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) + if err != nil { + return it, err + } + it["recommendation"] = data + case "links": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("links")) + data, err := ec.unmarshalOString2ᚕstringᚄ(ctx, v) + if err != nil { + return it, err + } + it["links"] = data + } + } + + return it, nil +} + func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterRecommendationOrderInput(ctx context.Context, obj interface{}) (model.UpdateTRBAdviceLetterRecommendationOrderInput, error) { var it model.UpdateTRBAdviceLetterRecommendationOrderInput asMap := map[string]interface{}{} @@ -58833,6 +59053,233 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestConsultMeetingTimeInpu return it, nil } +func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context.Context, obj interface{}) (map[string]interface{}, error) { + it := make(map[string]interface{}, len(obj.(map[string]interface{}))) + asMap := map[string]interface{}{} + for k, v := range obj.(map[string]interface{}) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"trbRequestId", "isSubmitted", "component", "needsAssistanceWith", "hasSolutionInMind", "proposedSolution", "whereInProcess", "whereInProcessOther", "hasExpectedStartEndDates", "expectedStartDate", "expectedEndDate", "collabGroups", "collabDateSecurity", "collabDateEnterpriseArchitecture", "collabDateCloud", "collabDatePrivacyAdvisor", "collabDateGovernanceReviewBoard", "collabDateOther", "collabGroupOther", "collabGRBConsultRequested", "systemIntakes", "subjectAreaOptions", "subjectAreaOptionOther"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "trbRequestId": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) + data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) + if err != nil { + return it, err + } + it["trbRequestId"] = data + case "isSubmitted": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isSubmitted")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it["isSubmitted"] = data + case "component": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["component"] = data + case "needsAssistanceWith": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("needsAssistanceWith")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["needsAssistanceWith"] = data + case "hasSolutionInMind": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hasSolutionInMind")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it["hasSolutionInMind"] = data + case "proposedSolution": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("proposedSolution")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["proposedSolution"] = data + case "whereInProcess": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("whereInProcess")) + data, err := ec.unmarshalOTRBWhereInProcessOption2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBWhereInProcessOption(ctx, v) + if err != nil { + return it, err + } + it["whereInProcess"] = data + case "whereInProcessOther": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("whereInProcessOther")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["whereInProcessOther"] = data + case "hasExpectedStartEndDates": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hasExpectedStartEndDates")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it["hasExpectedStartEndDates"] = data + case "expectedStartDate": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expectedStartDate")) + data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) + if err != nil { + return it, err + } + it["expectedStartDate"] = data + case "expectedEndDate": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expectedEndDate")) + data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) + if err != nil { + return it, err + } + it["expectedEndDate"] = data + case "collabGroups": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabGroups")) + data, err := ec.unmarshalOTRBCollabGroupOption2ᚕgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBCollabGroupOptionᚄ(ctx, v) + if err != nil { + return it, err + } + it["collabGroups"] = data + case "collabDateSecurity": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateSecurity")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["collabDateSecurity"] = data + case "collabDateEnterpriseArchitecture": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateEnterpriseArchitecture")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["collabDateEnterpriseArchitecture"] = data + case "collabDateCloud": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateCloud")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["collabDateCloud"] = data + case "collabDatePrivacyAdvisor": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDatePrivacyAdvisor")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["collabDatePrivacyAdvisor"] = data + case "collabDateGovernanceReviewBoard": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateGovernanceReviewBoard")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["collabDateGovernanceReviewBoard"] = data + case "collabDateOther": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateOther")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["collabDateOther"] = data + case "collabGroupOther": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabGroupOther")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["collabGroupOther"] = data + case "collabGRBConsultRequested": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabGRBConsultRequested")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it["collabGRBConsultRequested"] = data + case "systemIntakes": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakes")) + data, err := ec.unmarshalOUUID2ᚕgithubᚗcomᚋgoogleᚋuuidᚐUUIDᚄ(ctx, v) + if err != nil { + return it, err + } + it["systemIntakes"] = data + case "subjectAreaOptions": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("subjectAreaOptions")) + data, err := ec.unmarshalOTRBSubjectAreaOption2ᚕgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBSubjectAreaOptionᚄ(ctx, v) + if err != nil { + return it, err + } + it["subjectAreaOptions"] = data + case "subjectAreaOptionOther": + var err error + + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("subjectAreaOptionOther")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it["subjectAreaOptionOther"] = data + } + } + + return it, nil +} + func (ec *executionContext) unmarshalInputUpdateTRBRequestFundingSourcesInput(ctx context.Context, obj interface{}) (model.UpdateTRBRequestFundingSourcesInput, error) { var it model.UpdateTRBRequestFundingSourcesInput asMap := map[string]interface{}{} @@ -75331,15 +75778,18 @@ func (ec *executionContext) unmarshalNUpdateSystemIntakeReviewDatesInput2github } func (ec *executionContext) unmarshalNUpdateTRBAdminNoteInput2map(ctx context.Context, v interface{}) (map[string]interface{}, error) { - return v.(map[string]interface{}), nil + res, err := ec.unmarshalInputUpdateTRBAdminNoteInput(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) } func (ec *executionContext) unmarshalNUpdateTRBAdviceLetterInput2map(ctx context.Context, v interface{}) (map[string]interface{}, error) { - return v.(map[string]interface{}), nil + res, err := ec.unmarshalInputUpdateTRBAdviceLetterInput(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) } func (ec *executionContext) unmarshalNUpdateTRBAdviceLetterRecommendationInput2map(ctx context.Context, v interface{}) (map[string]interface{}, error) { - return v.(map[string]interface{}), nil + res, err := ec.unmarshalInputUpdateTRBAdviceLetterRecommendationInput(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) } func (ec *executionContext) unmarshalNUpdateTRBAdviceLetterRecommendationOrderInput2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐUpdateTRBAdviceLetterRecommendationOrderInput(ctx context.Context, v interface{}) (model.UpdateTRBAdviceLetterRecommendationOrderInput, error) { @@ -75358,7 +75808,8 @@ func (ec *executionContext) unmarshalNUpdateTRBRequestConsultMeetingTimeInput2gi } func (ec *executionContext) unmarshalNUpdateTRBRequestFormInput2map(ctx context.Context, v interface{}) (map[string]interface{}, error) { - return v.(map[string]interface{}), nil + res, err := ec.unmarshalInputUpdateTRBRequestFormInput(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) } func (ec *executionContext) unmarshalNUpdateTRBRequestFundingSourcesInput2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐUpdateTRBRequestFundingSourcesInput(ctx context.Context, v interface{}) (model.UpdateTRBRequestFundingSourcesInput, error) { @@ -76623,7 +77074,8 @@ func (ec *executionContext) unmarshalOTRBRequestChanges2map(ctx context.Context, if v == nil { return nil, nil } - return v.(map[string]interface{}), nil + res, err := ec.unmarshalInputTRBRequestChanges(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) } func (ec *executionContext) marshalOTRBRequestDocument2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBRequestDocument(ctx context.Context, sel ast.SelectionSet, v *models.TRBRequestDocument) graphql.Marshaler { From f90973ccdee408d84f5af868d57053ffda42b247 Mon Sep 17 00:00:00 2001 From: Sam Lawson Date: Thu, 1 Feb 2024 14:13:08 -0800 Subject: [PATCH 04/14] update errors for specific location --- pkg/graph/resolvers/trb_advice_letter.go | 2 +- pkg/graph/resolvers/trb_advice_letter_recommendation.go | 2 +- pkg/graph/resolvers/trb_request_form.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/graph/resolvers/trb_advice_letter.go b/pkg/graph/resolvers/trb_advice_letter.go index b6295f016d..0ae0dc19da 100644 --- a/pkg/graph/resolvers/trb_advice_letter.go +++ b/pkg/graph/resolvers/trb_advice_letter.go @@ -38,7 +38,7 @@ func UpdateTRBAdviceLetter(ctx context.Context, store *storage.Store, input map[ id, ok := idIface.(uuid.UUID) if !ok { - return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid: %v", idIface) + return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid when updating TRB advice letter: %v", idIface) } letter, err := store.GetTRBAdviceLetterByTRBRequestID(ctx, id) diff --git a/pkg/graph/resolvers/trb_advice_letter_recommendation.go b/pkg/graph/resolvers/trb_advice_letter_recommendation.go index 0b088eef07..470e22b07c 100644 --- a/pkg/graph/resolvers/trb_advice_letter_recommendation.go +++ b/pkg/graph/resolvers/trb_advice_letter_recommendation.go @@ -49,7 +49,7 @@ func UpdateTRBAdviceLetterRecommendation(ctx context.Context, store *storage.Sto // conv uuid first id, ok := idIface.(uuid.UUID) if !ok { - return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid: %v", idIface) + return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid when updating TRB advice letter recommendation: %v", idIface) } // This will fail to fetch an existing recommendation if the recommendation is deleted, which is sufficient protection diff --git a/pkg/graph/resolvers/trb_request_form.go b/pkg/graph/resolvers/trb_request_form.go index b64edb3ad7..2d9836ea42 100644 --- a/pkg/graph/resolvers/trb_request_form.go +++ b/pkg/graph/resolvers/trb_request_form.go @@ -32,7 +32,7 @@ func UpdateTRBRequestForm( id, ok := idIface.(uuid.UUID) if !ok { - return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid: %v", idIface) + return nil, fmt.Errorf("unable to convert incoming trbRequestId to uuid when updating TRB request form: %v", idIface) } isSubmitted := false From 3f633c98234ff7dd5bc012a5fccbde28a8834fb5 Mon Sep 17 00:00:00 2001 From: Sam Lawson Date: Thu, 1 Feb 2024 14:24:04 -0800 Subject: [PATCH 05/14] remove call to `String()` --- cmd/devdata/trb_request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/devdata/trb_request.go b/cmd/devdata/trb_request.go index cd0859fbfb..e7e1b565c1 100644 --- a/cmd/devdata/trb_request.go +++ b/cmd/devdata/trb_request.go @@ -582,7 +582,7 @@ func (s *seederConfig) addAdviceLetter(ctx context.Context, trb *models.TRBReque } adviceLetterChanges := map[string]interface{}{ - "trbRequestId": trb.ID.String(), + "trbRequestId": trb.ID, "meetingSummary": "Talked about stuff", "isFollowupRecommended": isFollowUpRequested, } From c08c31c427a5512fe1218eb15b4acef0cdcec47b Mon Sep 17 00:00:00 2001 From: samoddball Date: Tue, 13 Feb 2024 12:39:30 -0800 Subject: [PATCH 06/14] use bool ptr --- pkg/graph/resolvers/trb_request_form.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/graph/resolvers/trb_request_form.go b/pkg/graph/resolvers/trb_request_form.go index 2d9836ea42..4ee2fb1f1e 100644 --- a/pkg/graph/resolvers/trb_request_form.go +++ b/pkg/graph/resolvers/trb_request_form.go @@ -37,8 +37,9 @@ func UpdateTRBRequestForm( isSubmitted := false if isSubmittedVal, isSubmittedFound := input["isSubmitted"]; isSubmittedFound { - if isSubmittedBool, isSubmittedOk := isSubmittedVal.(bool); isSubmittedOk { - isSubmitted = isSubmittedBool + isSubmittedBool, isSubmittedOk := isSubmittedVal.(*bool) + if isSubmittedOk && isSubmittedBool != nil { + isSubmitted = *isSubmittedBool delete(input, "isSubmitted") } } From 19e64e32e3039f03e75692ccc1b2faed6233358c Mon Sep 17 00:00:00 2001 From: samoddball Date: Tue, 13 Feb 2024 13:47:01 -0800 Subject: [PATCH 07/14] clean up conditional --- pkg/graph/resolvers/trb_request_form.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/graph/resolvers/trb_request_form.go b/pkg/graph/resolvers/trb_request_form.go index 4ee2fb1f1e..98c078c346 100644 --- a/pkg/graph/resolvers/trb_request_form.go +++ b/pkg/graph/resolvers/trb_request_form.go @@ -37,8 +37,7 @@ func UpdateTRBRequestForm( isSubmitted := false if isSubmittedVal, isSubmittedFound := input["isSubmitted"]; isSubmittedFound { - isSubmittedBool, isSubmittedOk := isSubmittedVal.(*bool) - if isSubmittedOk && isSubmittedBool != nil { + if isSubmittedBool, isSubmittedOk := isSubmittedVal.(*bool); isSubmittedOk && isSubmittedBool != nil { isSubmitted = *isSubmittedBool delete(input, "isSubmitted") } From 43796be48e2c17407235606eccad463a9e19ef47 Mon Sep 17 00:00:00 2001 From: samoddball Date: Tue, 13 Feb 2024 13:49:28 -0800 Subject: [PATCH 08/14] remove ununsed endpoint and related store method --- EASI.postman_collection.json | 21 --- pkg/graph/generated/generated.go | 230 +------------------------- pkg/graph/resolvers/trb_admin_note.go | 35 ---- pkg/graph/schema.graphql | 21 +-- pkg/graph/schema.resolvers.go | 5 - pkg/storage/trb_admin_note.go | 48 ------ pkg/storage/trb_admin_note_test.go | 31 ---- 7 files changed, 4 insertions(+), 387 deletions(-) diff --git a/EASI.postman_collection.json b/EASI.postman_collection.json index ba7a970d06..33f4b57510 100644 --- a/EASI.postman_collection.json +++ b/EASI.postman_collection.json @@ -2085,27 +2085,6 @@ } }, "response": [] - }, - { - "name": "Update TRB Admin Note (no category-specific fields)", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "graphql", - "graphql": { - "query": "mutation UpdateNote($input: UpdateTRBAdminNoteInput!) {\r\n updateTRBAdminNote(input: $input) {\r\n id\r\n category\r\n noteText\r\n }\r\n}", - "variables": "{\r\n \"input\": {\r\n \"id\": \"71fb32c1-52f5-47a1-8350-c7349caf2770\",\r\n \"category\": \"INITIAL_REQUEST_FORM\",\r\n \"noteText\": \"test note 1 - edit1\"\r\n }\r\n}" - } - }, - "url": { - "raw": "{{url}}", - "host": [ - "{{url}}" - ] - } - }, - "response": [] } ] } diff --git a/pkg/graph/generated/generated.go b/pkg/graph/generated/generated.go index 1e8de114fb..d32201f7a0 100644 --- a/pkg/graph/generated/generated.go +++ b/pkg/graph/generated/generated.go @@ -618,7 +618,6 @@ type ComplexityRoot struct { UpdateSystemIntakeNote func(childComplexity int, input model.UpdateSystemIntakeNoteInput) int UpdateSystemIntakeRequestDetails func(childComplexity int, input model.UpdateSystemIntakeRequestDetailsInput) int UpdateSystemIntakeReviewDates func(childComplexity int, input model.UpdateSystemIntakeReviewDatesInput) int - UpdateTRBAdminNote func(childComplexity int, input map[string]interface{}) int UpdateTRBAdviceLetter func(childComplexity int, input map[string]interface{}) int UpdateTRBAdviceLetterRecommendation func(childComplexity int, input map[string]interface{}) int UpdateTRBAdviceLetterRecommendationOrder func(childComplexity int, input model.UpdateTRBAdviceLetterRecommendationOrderInput) int @@ -1388,7 +1387,6 @@ type MutationResolver interface { CreateTRBAdminNoteSupportingDocuments(ctx context.Context, input model.CreateTRBAdminNoteSupportingDocumentsInput) (*models.TRBAdminNote, error) CreateTRBAdminNoteConsultSession(ctx context.Context, input model.CreateTRBAdminNoteConsultSessionInput) (*models.TRBAdminNote, error) CreateTRBAdminNoteAdviceLetter(ctx context.Context, input model.CreateTRBAdminNoteAdviceLetterInput) (*models.TRBAdminNote, error) - UpdateTRBAdminNote(ctx context.Context, input map[string]interface{}) (*models.TRBAdminNote, error) SetTRBAdminNoteArchived(ctx context.Context, id uuid.UUID, isArchived bool) (*models.TRBAdminNote, error) CreateTRBAdviceLetter(ctx context.Context, trbRequestID uuid.UUID) (*models.TRBAdviceLetter, error) UpdateTRBAdviceLetter(ctx context.Context, input map[string]interface{}) (*models.TRBAdviceLetter, error) @@ -4753,18 +4751,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Mutation.UpdateSystemIntakeReviewDates(childComplexity, args["input"].(model.UpdateSystemIntakeReviewDatesInput)), true - case "Mutation.updateTRBAdminNote": - if e.complexity.Mutation.UpdateTRBAdminNote == nil { - break - } - - args, err := ec.field_Mutation_updateTRBAdminNote_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.Mutation.UpdateTRBAdminNote(childComplexity, args["input"].(map[string]interface{})), true - case "Mutation.updateTRBAdviceLetter": if e.complexity.Mutation.UpdateTRBAdviceLetter == nil { break @@ -7663,7 +7649,6 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { ec.unmarshalInputUpdateSystemIntakeNoteInput, ec.unmarshalInputUpdateSystemIntakeRequestDetailsInput, ec.unmarshalInputUpdateSystemIntakeReviewDatesInput, - ec.unmarshalInputUpdateTRBAdminNoteInput, ec.unmarshalInputUpdateTRBAdviceLetterInput, ec.unmarshalInputUpdateTRBAdviceLetterRecommendationInput, ec.unmarshalInputUpdateTRBAdviceLetterRecommendationOrderInput, @@ -10263,24 +10248,10 @@ input CreateTRBAdminNoteAdviceLetterInput { recommendationIDs: [UUID!]! } -""" -The data needed for updating a TRB admin note, not including any category-specific data -As of 10/17/2023, this mutation isn't being used anywhere within EASi -Creating and reading admin notes with category-specific data was added in https://jiraent.cms.gov/browse/EASI-3277 - -If updating admin notes needs to handle category-specific data, break it up into five separate mutations with their own input types, -similar to the different CreateTRBAdminNote* inputs. -""" -input UpdateTRBAdminNoteInput @goModel(model: "map[string]interface{}") { # done - id: UUID! - category: TRBAdminNoteCategory - noteText: HTML -} - """ The data needed to update a TRB advice letter """ -input UpdateTRBAdviceLetterInput @goModel(model: "map[string]interface{}") { # done +input UpdateTRBAdviceLetterInput @goModel(model: "map[string]interface{}") { trbRequestId: UUID! meetingSummary: HTML nextSteps: HTML @@ -10327,7 +10298,7 @@ input CreateTRBAdviceLetterRecommendationInput { """ The input required to update a recommendation to a TRB advice letter """ -input UpdateTRBAdviceLetterRecommendationInput @goModel(model: "map[string]interface{}") { # done +input UpdateTRBAdviceLetterRecommendationInput @goModel(model: "map[string]interface{}") { id: UUID! title: String recommendation: HTML @@ -10596,9 +10567,6 @@ type Mutation { @hasRole(role: EASI_TRB_ADMIN) createTRBAdminNoteAdviceLetter(input: CreateTRBAdminNoteAdviceLetterInput!): TRBAdminNote! @hasRole(role: EASI_TRB_ADMIN) - - updateTRBAdminNote(input: UpdateTRBAdminNoteInput!): TRBAdminNote! - @hasRole(role: EASI_TRB_ADMIN) setTRBAdminNoteArchived(id: UUID!, isArchived: Boolean!): TRBAdminNote! @hasRole(role: EASI_TRB_ADMIN) createTRBAdviceLetter(trbRequestId: UUID!): TRBAdviceLetter! @@ -12393,21 +12361,6 @@ func (ec *executionContext) field_Mutation_updateSystemIntakeReviewDates_args(ct return args, nil } -func (ec *executionContext) field_Mutation_updateTRBAdminNote_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { - var err error - args := map[string]interface{}{} - var arg0 map[string]interface{} - if tmp, ok := rawArgs["input"]; ok { - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) - arg0, err = ec.unmarshalNUpdateTRBAdminNoteInput2map(ctx, tmp) - if err != nil { - return nil, err - } - } - args["input"] = arg0 - return args, nil -} - func (ec *executionContext) field_Mutation_updateTRBAdviceLetterRecommendationOrder_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} @@ -33260,109 +33213,6 @@ func (ec *executionContext) fieldContext_Mutation_createTRBAdminNoteAdviceLetter return fc, nil } -func (ec *executionContext) _Mutation_updateTRBAdminNote(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_updateTRBAdminNote(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - directive0 := func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().UpdateTRBAdminNote(rctx, fc.Args["input"].(map[string]interface{})) - } - directive1 := func(ctx context.Context) (interface{}, error) { - role, err := ec.unmarshalNRole2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐRole(ctx, "EASI_TRB_ADMIN") - if err != nil { - return nil, err - } - if ec.directives.HasRole == nil { - return nil, errors.New("directive hasRole is not implemented") - } - return ec.directives.HasRole(ctx, nil, directive0, role) - } - - tmp, err := directive1(rctx) - if err != nil { - return nil, graphql.ErrorOnPath(ctx, err) - } - if tmp == nil { - return nil, nil - } - if data, ok := tmp.(*models.TRBAdminNote); ok { - return data, nil - } - return nil, fmt.Errorf(`unexpected type %T from directive, should be *github.com/cmsgov/easi-app/pkg/models.TRBAdminNote`, tmp) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(*models.TRBAdminNote) - fc.Result = res - return ec.marshalNTRBAdminNote2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBAdminNote(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Mutation_updateTRBAdminNote(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Mutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "id": - return ec.fieldContext_TRBAdminNote_id(ctx, field) - case "trbRequestId": - return ec.fieldContext_TRBAdminNote_trbRequestId(ctx, field) - case "category": - return ec.fieldContext_TRBAdminNote_category(ctx, field) - case "noteText": - return ec.fieldContext_TRBAdminNote_noteText(ctx, field) - case "author": - return ec.fieldContext_TRBAdminNote_author(ctx, field) - case "isArchived": - return ec.fieldContext_TRBAdminNote_isArchived(ctx, field) - case "categorySpecificData": - return ec.fieldContext_TRBAdminNote_categorySpecificData(ctx, field) - case "createdBy": - return ec.fieldContext_TRBAdminNote_createdBy(ctx, field) - case "createdAt": - return ec.fieldContext_TRBAdminNote_createdAt(ctx, field) - case "modifiedBy": - return ec.fieldContext_TRBAdminNote_modifiedBy(ctx, field) - case "modifiedAt": - return ec.fieldContext_TRBAdminNote_modifiedAt(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type TRBAdminNote", field.Name) - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_Mutation_updateTRBAdminNote_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - func (ec *executionContext) _Mutation_setTRBAdminNoteArchived(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Mutation_setTRBAdminNoteArchived(ctx, field) if err != nil { @@ -59242,53 +59092,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeReviewDatesInput(ctx return it, nil } -func (ec *executionContext) unmarshalInputUpdateTRBAdminNoteInput(ctx context.Context, obj interface{}) (map[string]interface{}, error) { - it := make(map[string]interface{}, len(obj.(map[string]interface{}))) - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { - asMap[k] = v - } - - fieldsInOrder := [...]string{"id", "category", "noteText"} - for _, k := range fieldsInOrder { - v, ok := asMap[k] - if !ok { - continue - } - switch k { - case "id": - var err error - - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) - data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) - if err != nil { - return it, err - } - it["id"] = data - case "category": - var err error - - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("category")) - data, err := ec.unmarshalOTRBAdminNoteCategory2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBAdminNoteCategory(ctx, v) - if err != nil { - return it, err - } - it["category"] = data - case "noteText": - var err error - - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("noteText")) - data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) - if err != nil { - return it, err - } - it["noteText"] = data - } - } - - return it, nil -} - func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterInput(ctx context.Context, obj interface{}) (map[string]interface{}, error) { it := make(map[string]interface{}, len(obj.(map[string]interface{}))) asMap := map[string]interface{}{} @@ -66331,13 +66134,6 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) if out.Values[i] == graphql.Null { out.Invalids++ } - case "updateTRBAdminNote": - out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_updateTRBAdminNote(ctx, field) - }) - if out.Values[i] == graphql.Null { - out.Invalids++ - } case "setTRBAdminNoteArchived": out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { return ec._Mutation_setTRBAdminNoteArchived(ctx, field) @@ -76433,11 +76229,6 @@ func (ec *executionContext) unmarshalNUpdateSystemIntakeReviewDatesInput2github return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNUpdateTRBAdminNoteInput2map(ctx context.Context, v interface{}) (map[string]interface{}, error) { - res, err := ec.unmarshalInputUpdateTRBAdminNoteInput(ctx, v) - return res, graphql.ErrorOnPath(ctx, err) -} - func (ec *executionContext) unmarshalNUpdateTRBAdviceLetterInput2map(ctx context.Context, v interface{}) (map[string]interface{}, error) { res, err := ec.unmarshalInputUpdateTRBAdviceLetterInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) @@ -77589,23 +77380,6 @@ func (ec *executionContext) marshalOSystemIntakeTRBFollowUp2ᚖgithubᚗcomᚋcm return res } -func (ec *executionContext) unmarshalOTRBAdminNoteCategory2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBAdminNoteCategory(ctx context.Context, v interface{}) (*models.TRBAdminNoteCategory, error) { - if v == nil { - return nil, nil - } - tmp, err := graphql.UnmarshalString(v) - res := models.TRBAdminNoteCategory(tmp) - return &res, graphql.ErrorOnPath(ctx, err) -} - -func (ec *executionContext) marshalOTRBAdminNoteCategory2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBAdminNoteCategory(ctx context.Context, sel ast.SelectionSet, v *models.TRBAdminNoteCategory) graphql.Marshaler { - if v == nil { - return graphql.Null - } - res := graphql.MarshalString(string(*v)) - return res -} - func (ec *executionContext) marshalOTRBAdviceLetter2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBAdviceLetter(ctx context.Context, sel ast.SelectionSet, v *models.TRBAdviceLetter) graphql.Marshaler { if v == nil { return graphql.Null diff --git a/pkg/graph/resolvers/trb_admin_note.go b/pkg/graph/resolvers/trb_admin_note.go index ea28d7e107..7f36c0de8d 100644 --- a/pkg/graph/resolvers/trb_admin_note.go +++ b/pkg/graph/resolvers/trb_admin_note.go @@ -229,41 +229,6 @@ func GetTRBAdminNoteCategorySpecificData(ctx context.Context, store *storage.Sto return nil, apperrors.NewInvalidEnumError(fmt.Errorf("admin note has an unrecognized category"), note.Category, "TRBAdminNoteCategory") } -// UpdateTRBAdminNote handles general updates to a TRB admin note, without handling category-specific data -// If updating admin notes requires handling category-specific data, see note on UpdateTRBAdminNoteInput in GraphQL schema; -// break this up into separate resolvers -// Also, if updating with category-specific data allows changing a note's category, the resolvers will need to null out any previous category-specific data; -// as well as updating the fields on the admin note record, many-to-many links to documents/recommendations may need to be deleted -// (which would require implementing storage methods to delete those records) -func UpdateTRBAdminNote(ctx context.Context, store *storage.Store, input map[string]interface{}) (*models.TRBAdminNote, error) { - idIface, idFound := input["id"] - if !idFound { - return nil, errors.New("missing required property id") - } - - id, ok := idIface.(uuid.UUID) - if !ok { - return nil, fmt.Errorf("unable to convert incoming updateTRBAdminNote id to uuid: %v", idIface) - } - - note, err := store.GetTRBAdminNoteByID(ctx, id) - if err != nil { - return nil, err - } - - err = ApplyChangesAndMetaData(input, note, appcontext.Principal(ctx)) - if err != nil { - return nil, err - } - - updatedNote, err := store.UpdateTRBAdminNote(ctx, note) - if err != nil { - return nil, err - } - - return updatedNote, nil -} - // SetTRBAdminNoteArchived sets whether a TRB admin note is archived (soft-deleted) func SetTRBAdminNoteArchived(ctx context.Context, store *storage.Store, id uuid.UUID, isArchived bool) (*models.TRBAdminNote, error) { updatedNote, err := store.SetTRBAdminNoteArchived(ctx, id, isArchived, appcontext.Principal(ctx).ID()) diff --git a/pkg/graph/schema.graphql b/pkg/graph/schema.graphql index d5a5f89e30..40e47cbf0f 100644 --- a/pkg/graph/schema.graphql +++ b/pkg/graph/schema.graphql @@ -2491,24 +2491,10 @@ input CreateTRBAdminNoteAdviceLetterInput { recommendationIDs: [UUID!]! } -""" -The data needed for updating a TRB admin note, not including any category-specific data -As of 10/17/2023, this mutation isn't being used anywhere within EASi -Creating and reading admin notes with category-specific data was added in https://jiraent.cms.gov/browse/EASI-3277 - -If updating admin notes needs to handle category-specific data, break it up into five separate mutations with their own input types, -similar to the different CreateTRBAdminNote* inputs. -""" -input UpdateTRBAdminNoteInput @goModel(model: "map[string]interface{}") { # done - id: UUID! - category: TRBAdminNoteCategory - noteText: HTML -} - """ The data needed to update a TRB advice letter """ -input UpdateTRBAdviceLetterInput @goModel(model: "map[string]interface{}") { # done +input UpdateTRBAdviceLetterInput @goModel(model: "map[string]interface{}") { trbRequestId: UUID! meetingSummary: HTML nextSteps: HTML @@ -2555,7 +2541,7 @@ input CreateTRBAdviceLetterRecommendationInput { """ The input required to update a recommendation to a TRB advice letter """ -input UpdateTRBAdviceLetterRecommendationInput @goModel(model: "map[string]interface{}") { # done +input UpdateTRBAdviceLetterRecommendationInput @goModel(model: "map[string]interface{}") { id: UUID! title: String recommendation: HTML @@ -2824,9 +2810,6 @@ type Mutation { @hasRole(role: EASI_TRB_ADMIN) createTRBAdminNoteAdviceLetter(input: CreateTRBAdminNoteAdviceLetterInput!): TRBAdminNote! @hasRole(role: EASI_TRB_ADMIN) - - updateTRBAdminNote(input: UpdateTRBAdminNoteInput!): TRBAdminNote! - @hasRole(role: EASI_TRB_ADMIN) setTRBAdminNoteArchived(id: UUID!, isArchived: Boolean!): TRBAdminNote! @hasRole(role: EASI_TRB_ADMIN) createTRBAdviceLetter(trbRequestId: UUID!): TRBAdviceLetter! diff --git a/pkg/graph/schema.resolvers.go b/pkg/graph/schema.resolvers.go index 277d21c455..850f32fbbc 100644 --- a/pkg/graph/schema.resolvers.go +++ b/pkg/graph/schema.resolvers.go @@ -2210,11 +2210,6 @@ func (r *mutationResolver) CreateTRBAdminNoteAdviceLetter(ctx context.Context, i return resolvers.CreateTRBAdminNoteAdviceLetter(ctx, r.store, input) } -// UpdateTRBAdminNote is the resolver for the updateTRBAdminNote field. -func (r *mutationResolver) UpdateTRBAdminNote(ctx context.Context, input map[string]interface{}) (*models.TRBAdminNote, error) { - return resolvers.UpdateTRBAdminNote(ctx, r.store, input) -} - // SetTRBAdminNoteArchived is the resolver for the setTRBAdminNoteArchived field. func (r *mutationResolver) SetTRBAdminNoteArchived(ctx context.Context, id uuid.UUID, isArchived bool) (*models.TRBAdminNote, error) { return resolvers.SetTRBAdminNoteArchived(ctx, r.store, id, isArchived) diff --git a/pkg/storage/trb_admin_note.go b/pkg/storage/trb_admin_note.go index d4534504bd..49154fd3ef 100644 --- a/pkg/storage/trb_admin_note.go +++ b/pkg/storage/trb_admin_note.go @@ -140,54 +140,6 @@ func (s *Store) GetTRBAdminNoteByID(ctx context.Context, id uuid.UUID) (*models. return ¬e, nil } -// UpdateTRBAdminNote updates all of a TRB admin note's mutable fields. -// The note's IsArchived field _can_ be set, though ArchiveTRBAdminNote() should be used when archiving a note. -func (s *Store) UpdateTRBAdminNote(ctx context.Context, note *models.TRBAdminNote) (*models.TRBAdminNote, error) { - stmt, err := s.db.PrepareNamed(` - UPDATE trb_admin_notes - SET - category = :category, - note_text = :note_text, - is_archived = :is_archived, - applies_to_basic_request_details = :applies_to_basic_request_details, - applies_to_subject_areas = :applies_to_subject_areas, - applies_to_attendees = :applies_to_attendees, - applies_to_meeting_summary = :applies_to_meeting_summary, - applies_to_next_steps = :applies_to_next_steps, - modified_by = :modified_by, - modified_at = CURRENT_TIMESTAMP - WHERE id = :id - RETURNING *; - `) - - if err != nil { - appcontext.ZLogger(ctx).Error( - fmt.Sprintf("Failed to update TRB admin note with error %s", err), - zap.Error(err), - zap.String("id", note.ID.String()), - ) - return nil, err - } - - updated := models.TRBAdminNote{} - - err = stmt.Get(&updated, note) - if err != nil { - appcontext.ZLogger(ctx).Error( - fmt.Sprintf("Failed to update TRB admin note with error %s", err), - zap.Error(err), - zap.String("id", note.ID.String()), - ) - return nil, &apperrors.QueryError{ - Err: err, - Model: note, - Operation: apperrors.QueryUpdate, - } - } - - return &updated, nil -} - // SetTRBAdminNoteArchived sets whether a TRB admin note is archived (soft-deleted) // It takes a modifiedBy argument because it doesn't take a full TRBAdminNote as an argument, and ModifiedBy fields are usually set by the resolver. func (s *Store) SetTRBAdminNoteArchived(ctx context.Context, id uuid.UUID, isArchived bool, modifiedBy string) (*models.TRBAdminNote, error) { diff --git a/pkg/storage/trb_admin_note_test.go b/pkg/storage/trb_admin_note_test.go index a197dbb90a..68126cf9bc 100644 --- a/pkg/storage/trb_admin_note_test.go +++ b/pkg/storage/trb_admin_note_test.go @@ -133,37 +133,6 @@ func (s *StoreTestSuite) TestTRBAdminNoteStoreMethods() { s.NotEqualValues(fetchedNote1.NoteText, fetchedNote2.NoteText) }) - s.Run("Updating a note returns a note with updated data and sets ModifiedBy, ModifiedAt", func() { - trbRequestID := createTRBRequest(ctx, s, anonEUA) - initialCategory := models.TRBAdminNoteCategoryGeneralRequest - initialNoteText := models.HTML("Update note test (initial)") - noteToCreate := models.TRBAdminNote{ - Category: initialCategory, - NoteText: initialNoteText, - } - noteToCreate.TRBRequestID = trbRequestID - noteToCreate.CreatedBy = anonEUA - - noteToUpdate, err := s.store.CreateTRBAdminNote(ctx, ¬eToCreate) - s.NoError(err) - - updatedCategory := models.TRBAdminNoteCategoryConsultSession - updatedNoteText := models.HTML("Update note test (updated)") - updatingUser := "USR1" - - noteToUpdate.Category = updatedCategory - noteToUpdate.NoteText = updatedNoteText - noteToUpdate.ModifiedBy = &updatingUser - - updatedNote, err := s.store.UpdateTRBAdminNote(ctx, noteToUpdate) - s.NoError(err) - - s.EqualValues(updatedCategory, updatedNote.Category) - s.EqualValues(updatedNoteText, updatedNote.NoteText) - s.EqualValues(updatingUser, *updatedNote.ModifiedBy) - s.NotNil(updatedNote.ModifiedAt) // don't care about exact value, just that it was set to *something* - }) - s.Run("Setting a note to be archived sets IsArchived to true and sets ModifiedBy, ModifiedAt", func() { trbRequestID := createTRBRequest(ctx, s, anonEUA) From 26e1cf3c038eea834e2cf18de85cce7fe55c04ca Mon Sep 17 00:00:00 2001 From: samoddball Date: Tue, 13 Feb 2024 14:20:51 -0800 Subject: [PATCH 09/14] forgiving bool allowance --- pkg/graph/resolvers/trb_request_form.go | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkg/graph/resolvers/trb_request_form.go b/pkg/graph/resolvers/trb_request_form.go index 98c078c346..fbb3efcd34 100644 --- a/pkg/graph/resolvers/trb_request_form.go +++ b/pkg/graph/resolvers/trb_request_form.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "reflect" "time" "github.com/google/uuid" @@ -37,10 +38,17 @@ func UpdateTRBRequestForm( isSubmitted := false if isSubmittedVal, isSubmittedFound := input["isSubmitted"]; isSubmittedFound { - if isSubmittedBool, isSubmittedOk := isSubmittedVal.(*bool); isSubmittedOk && isSubmittedBool != nil { - isSubmitted = *isSubmittedBool - delete(input, "isSubmitted") + + switch v := isSubmittedVal.(type) { + case *bool: + isSubmitted = *v + case bool: + isSubmitted = v + default: + return nil, fmt.Errorf("expected bool or *bool value for isSubmitted, got: %v", reflect.TypeOf(v)) } + + delete(input, "isSubmitted") } form, err := store.GetTRBRequestFormByTRBRequestID(ctx, id) From 36a6f85a2dc51a8b712933135567742a4263c3d7 Mon Sep 17 00:00:00 2001 From: samoddball Date: Tue, 13 Feb 2024 14:23:32 -0800 Subject: [PATCH 10/14] use verb for type --- pkg/graph/resolvers/trb_request_form.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/graph/resolvers/trb_request_form.go b/pkg/graph/resolvers/trb_request_form.go index fbb3efcd34..22ed84a921 100644 --- a/pkg/graph/resolvers/trb_request_form.go +++ b/pkg/graph/resolvers/trb_request_form.go @@ -4,7 +4,6 @@ import ( "context" "errors" "fmt" - "reflect" "time" "github.com/google/uuid" @@ -45,7 +44,7 @@ func UpdateTRBRequestForm( case bool: isSubmitted = v default: - return nil, fmt.Errorf("expected bool or *bool value for isSubmitted, got: %v", reflect.TypeOf(v)) + return nil, fmt.Errorf("expected bool or *bool value for isSubmitted, got: %T", v) } delete(input, "isSubmitted") From c7e7bb0d0036dbeda4f4bd58a037d0be508bf549 Mon Sep 17 00:00:00 2001 From: samoddball Date: Wed, 14 Feb 2024 06:08:59 -0800 Subject: [PATCH 11/14] remove note --- pkg/graph/generated/generated.go | 2 +- pkg/graph/schema.graphql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/graph/generated/generated.go b/pkg/graph/generated/generated.go index d32201f7a0..5c1cde108a 100644 --- a/pkg/graph/generated/generated.go +++ b/pkg/graph/generated/generated.go @@ -9628,7 +9628,7 @@ TRBRequestChanges represents the possible changes you can make to a TRB request Fields explicitly set with NULL will be unset, and omitted fields will be left unchanged. https://gqlgen.com/reference/changesets/ """ -input TRBRequestChanges @goModel(model: "map[string]interface{}") { # no change, i think +input TRBRequestChanges @goModel(model: "map[string]interface{}") { name: String archived: Boolean type: TRBRequestType diff --git a/pkg/graph/schema.graphql b/pkg/graph/schema.graphql index 40e47cbf0f..5bd0a7c0ca 100644 --- a/pkg/graph/schema.graphql +++ b/pkg/graph/schema.graphql @@ -1871,7 +1871,7 @@ TRBRequestChanges represents the possible changes you can make to a TRB request Fields explicitly set with NULL will be unset, and omitted fields will be left unchanged. https://gqlgen.com/reference/changesets/ """ -input TRBRequestChanges @goModel(model: "map[string]interface{}") { # no change, i think +input TRBRequestChanges @goModel(model: "map[string]interface{}") { name: String archived: Boolean type: TRBRequestType From 9cbf82f3afa203beef5e65ac2f49fe110597a906 Mon Sep 17 00:00:00 2001 From: samoddball Date: Wed, 14 Feb 2024 06:14:59 -0800 Subject: [PATCH 12/14] upgrade gqlgen to v0.17.43 --- go.mod | 4 ++-- go.sum | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index f4d41c96b3..9d5343c1bb 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cmsgov/easi-app go 1.21 require ( - github.com/99designs/gqlgen v0.17.40 + github.com/99designs/gqlgen v0.17.43 github.com/alecthomas/jsonschema v0.0.0-20211228220459-151e3c21f49d github.com/aws/aws-sdk-go v1.50.10 github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a @@ -27,7 +27,7 @@ require ( github.com/spf13/cobra v1.8.0 github.com/spf13/viper v1.18.2 github.com/stretchr/testify v1.8.4 - github.com/vektah/gqlparser/v2 v2.5.10 + github.com/vektah/gqlparser/v2 v2.5.11 go.uber.org/zap v1.26.0 golang.org/x/sync v0.6.0 gopkg.in/launchdarkly/go-sdk-common.v2 v2.5.1 diff --git a/go.sum b/go.sum index a2129d7a44..27b3e52f92 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/99designs/gqlgen v0.17.40 h1:/l8JcEVQ93wqIfmH9VS1jsAkwm6eAF1NwQn3N+SDqBY= github.com/99designs/gqlgen v0.17.40/go.mod h1:b62q1USk82GYIVjC60h02YguAZLqYZtvWml8KkhJps4= +github.com/99designs/gqlgen v0.17.43 h1:I4SYg6ahjowErAQcHFVKy5EcWuwJ3+Xw9z2fLpuFCPo= +github.com/99designs/gqlgen v0.17.43/go.mod h1:lO0Zjy8MkZgBdv4T1U91x09r0e0WFOdhVUutlQs1Rsc= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRBij0P8= @@ -259,6 +261,8 @@ github.com/urfave/cli/v2 v2.25.5 h1:d0NIAyhh5shGscroL7ek/Ya9QYQE0KNabJgiUinIQkc= github.com/urfave/cli/v2 v2.25.5/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc= github.com/vektah/gqlparser/v2 v2.5.10 h1:6zSM4azXC9u4Nxy5YmdmGu4uKamfwsdKTwp5zsEealU= github.com/vektah/gqlparser/v2 v2.5.10/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc= +github.com/vektah/gqlparser/v2 v2.5.11 h1:JJxLtXIoN7+3x6MBdtIP59TP1RANnY7pXOaDnADQSf8= +github.com/vektah/gqlparser/v2 v2.5.11/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc= github.com/wsxiaoys/terminal v0.0.0-20160513160801-0940f3fc43a0 h1:3UeQBvD0TFrlVjOeLOBz+CPAI8dnbqNSVwUwRrkp7vQ= github.com/wsxiaoys/terminal v0.0.0-20160513160801-0940f3fc43a0/go.mod h1:IXCdmsXIht47RaVFLEdVnh1t+pgYtTAhQGj73kz+2DM= github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= From 844514fc0aaaa290e78a0e1951f55fcc3c54d5d5 Mon Sep 17 00:00:00 2001 From: samoddball Date: Wed, 14 Feb 2024 06:44:23 -0800 Subject: [PATCH 13/14] run gql gen --- go.sum | 8 +- pkg/graph/generated/generated.go | 696 ------------------------------- pkg/graph/model/models_gen.go | 8 + 3 files changed, 12 insertions(+), 700 deletions(-) diff --git a/go.sum b/go.sum index 27b3e52f92..936b026fa5 100644 --- a/go.sum +++ b/go.sum @@ -1,15 +1,17 @@ -github.com/99designs/gqlgen v0.17.40 h1:/l8JcEVQ93wqIfmH9VS1jsAkwm6eAF1NwQn3N+SDqBY= -github.com/99designs/gqlgen v0.17.40/go.mod h1:b62q1USk82GYIVjC60h02YguAZLqYZtvWml8KkhJps4= github.com/99designs/gqlgen v0.17.43 h1:I4SYg6ahjowErAQcHFVKy5EcWuwJ3+Xw9z2fLpuFCPo= github.com/99designs/gqlgen v0.17.43/go.mod h1:lO0Zjy8MkZgBdv4T1U91x09r0e0WFOdhVUutlQs1Rsc= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM= +github.com/PuerkitoBio/goquery v1.8.1/go.mod h1:Q8ICL1kNUJ2sXGoAhPGUdYDJvgQgHzJsnnd3H7Ho5jQ= github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRBij0P8= github.com/agnivade/levenshtein v1.1.1/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo= github.com/alecthomas/jsonschema v0.0.0-20211228220459-151e3c21f49d h1:4BQNwS4T13UU3Yee4GfzZH3Q9SNpKeJvLigfw8fDjX0= github.com/alecthomas/jsonschema v0.0.0-20211228220459-151e3c21f49d/go.mod h1:/n6+1/DWPltRLWL/VKyUxg6tzsl5kHUCcraimt4vr60= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= +github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsViSLyss= +github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6lUvCFb+h7KvU= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE= github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so= @@ -259,8 +261,6 @@ github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8 github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/urfave/cli/v2 v2.25.5 h1:d0NIAyhh5shGscroL7ek/Ya9QYQE0KNabJgiUinIQkc= github.com/urfave/cli/v2 v2.25.5/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc= -github.com/vektah/gqlparser/v2 v2.5.10 h1:6zSM4azXC9u4Nxy5YmdmGu4uKamfwsdKTwp5zsEealU= -github.com/vektah/gqlparser/v2 v2.5.10/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc= github.com/vektah/gqlparser/v2 v2.5.11 h1:JJxLtXIoN7+3x6MBdtIP59TP1RANnY7pXOaDnADQSf8= github.com/vektah/gqlparser/v2 v2.5.11/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc= github.com/wsxiaoys/terminal v0.0.0-20160513160801-0940f3fc43a0 h1:3UeQBvD0TFrlVjOeLOBz+CPAI8dnbqNSVwUwRrkp7vQ= diff --git a/pkg/graph/generated/generated.go b/pkg/graph/generated/generated.go index 5c1cde108a..91d17be111 100644 --- a/pkg/graph/generated/generated.go +++ b/pkg/graph/generated/generated.go @@ -54894,8 +54894,6 @@ func (ec *executionContext) unmarshalInputAddGRTFeedbackInput(ctx context.Contex } switch k { case "emailBody": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("emailBody")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -54903,8 +54901,6 @@ func (ec *executionContext) unmarshalInputAddGRTFeedbackInput(ctx context.Contex } it.EmailBody = data case "feedback": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("feedback")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -54912,8 +54908,6 @@ func (ec *executionContext) unmarshalInputAddGRTFeedbackInput(ctx context.Contex } it.Feedback = data case "intakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("intakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -54921,8 +54915,6 @@ func (ec *executionContext) unmarshalInputAddGRTFeedbackInput(ctx context.Contex } it.IntakeID = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -54950,8 +54942,6 @@ func (ec *executionContext) unmarshalInputBasicActionInput(ctx context.Context, } switch k { case "feedback": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("feedback")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -54959,8 +54949,6 @@ func (ec *executionContext) unmarshalInputBasicActionInput(ctx context.Context, } it.Feedback = data case "intakeId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("intakeId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -54968,8 +54956,6 @@ func (ec *executionContext) unmarshalInputBasicActionInput(ctx context.Context, } it.IntakeID = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -54997,8 +54983,6 @@ func (ec *executionContext) unmarshalInputCloseTRBRequestInput(ctx context.Conte } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55006,8 +54990,6 @@ func (ec *executionContext) unmarshalInputCloseTRBRequestInput(ctx context.Conte } it.ID = data case "reasonClosed": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reasonClosed")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55015,8 +54997,6 @@ func (ec *executionContext) unmarshalInputCloseTRBRequestInput(ctx context.Conte } it.ReasonClosed = data case "copyTrbMailbox": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("copyTrbMailbox")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -55024,8 +55004,6 @@ func (ec *executionContext) unmarshalInputCloseTRBRequestInput(ctx context.Conte } it.CopyTrbMailbox = data case "notifyEuaIds": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notifyEuaIds")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -55053,8 +55031,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestDocumentInpu } switch k { case "commonDocumentType": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("commonDocumentType")) data, err := ec.unmarshalNAccessibilityRequestDocumentCommonType2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐAccessibilityRequestDocumentCommonType(ctx, v) if err != nil { @@ -55062,8 +55038,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestDocumentInpu } it.CommonDocumentType = data case "mimeType": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("mimeType")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55071,8 +55045,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestDocumentInpu } it.MimeType = data case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55080,8 +55052,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestDocumentInpu } it.Name = data case "otherDocumentTypeDescription": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("otherDocumentTypeDescription")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -55089,8 +55059,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestDocumentInpu } it.OtherDocumentTypeDescription = data case "requestID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55098,8 +55066,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestDocumentInpu } it.RequestID = data case "size": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("size")) data, err := ec.unmarshalNInt2int(ctx, v) if err != nil { @@ -55107,8 +55073,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestDocumentInpu } it.Size = data case "url": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("url")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55136,8 +55100,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestInput(ctx co } switch k { case "intakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("intakeID")) data, err := ec.unmarshalOUUID2ᚖgithubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55145,8 +55107,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestInput(ctx co } it.IntakeID = data case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55154,8 +55114,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestInput(ctx co } it.Name = data case "cedarSystemId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cedarSystemId")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -55183,8 +55141,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestNoteInput(ct } switch k { case "requestID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55192,8 +55148,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestNoteInput(ct } it.RequestID = data case "note": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("note")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55201,8 +55155,6 @@ func (ec *executionContext) unmarshalInputCreateAccessibilityRequestNoteInput(ct } it.Note = data case "shouldSendEmail": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("shouldSendEmail")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -55230,8 +55182,6 @@ func (ec *executionContext) unmarshalInputCreateCedarSystemBookmarkInput(ctx con } switch k { case "cedarSystemId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cedarSystemId")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55259,8 +55209,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeActionExtendLifecycl } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55268,8 +55216,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeActionExtendLifecycl } it.ID = data case "expirationDate": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expirationDate")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -55277,8 +55223,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeActionExtendLifecycl } it.ExpirationDate = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55286,8 +55230,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeActionExtendLifecycl } it.NextSteps = data case "scope": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("scope")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55295,8 +55237,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeActionExtendLifecycl } it.Scope = data case "costBaseline": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("costBaseline")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -55304,8 +55244,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeActionExtendLifecycl } it.CostBaseline = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -55333,8 +55271,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeContactInput(ctx con } switch k { case "euaUserId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("euaUserId")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55342,8 +55278,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeContactInput(ctx con } it.EuaUserID = data case "systemIntakeId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55351,8 +55285,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeContactInput(ctx con } it.SystemIntakeID = data case "component": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55360,8 +55292,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeContactInput(ctx con } it.Component = data case "role": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("role")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55389,8 +55319,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeDocumentInput(ctx co } switch k { case "requestID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55398,8 +55326,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeDocumentInput(ctx co } it.RequestID = data case "fileData": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileData")) data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v) if err != nil { @@ -55407,8 +55333,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeDocumentInput(ctx co } it.FileData = data case "documentType": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentType")) data, err := ec.unmarshalNSystemIntakeDocumentCommonType2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐSystemIntakeDocumentCommonType(ctx, v) if err != nil { @@ -55416,8 +55340,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeDocumentInput(ctx co } it.DocumentType = data case "otherTypeDescription": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("otherTypeDescription")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -55445,8 +55367,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeInput(ctx context.Co } switch k { case "requestType": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestType")) data, err := ec.unmarshalNSystemIntakeRequestType2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐSystemIntakeRequestType(ctx, v) if err != nil { @@ -55454,8 +55374,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeInput(ctx context.Co } it.RequestType = data case "requester": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requester")) data, err := ec.unmarshalNSystemIntakeRequesterInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeRequesterInput(ctx, v) if err != nil { @@ -55483,8 +55401,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeNoteInput(ctx contex } switch k { case "content": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("content")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55492,8 +55408,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeNoteInput(ctx contex } it.Content = data case "authorName": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("authorName")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55501,8 +55415,6 @@ func (ec *executionContext) unmarshalInputCreateSystemIntakeNoteInput(ctx contex } it.AuthorName = data case "intakeId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("intakeId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55530,8 +55442,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteAdviceLetterInput(ct } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55539,8 +55449,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteAdviceLetterInput(ct } it.TrbRequestID = data case "noteText": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("noteText")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55548,8 +55456,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteAdviceLetterInput(ct } it.NoteText = data case "appliesToMeetingSummary": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("appliesToMeetingSummary")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -55557,8 +55463,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteAdviceLetterInput(ct } it.AppliesToMeetingSummary = data case "appliesToNextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("appliesToNextSteps")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -55566,8 +55470,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteAdviceLetterInput(ct } it.AppliesToNextSteps = data case "recommendationIDs": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("recommendationIDs")) data, err := ec.unmarshalNUUID2ᚕgithubᚗcomᚋgoogleᚋuuidᚐUUIDᚄ(ctx, v) if err != nil { @@ -55595,8 +55497,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteConsultSessionInput( } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55604,8 +55504,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteConsultSessionInput( } it.TrbRequestID = data case "noteText": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("noteText")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55633,8 +55531,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteGeneralRequestInput( } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55642,8 +55538,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteGeneralRequestInput( } it.TrbRequestID = data case "noteText": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("noteText")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55671,8 +55565,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteInitialRequestFormIn } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55680,8 +55572,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteInitialRequestFormIn } it.TrbRequestID = data case "noteText": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("noteText")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55689,8 +55579,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteInitialRequestFormIn } it.NoteText = data case "appliesToBasicRequestDetails": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("appliesToBasicRequestDetails")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -55698,8 +55586,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteInitialRequestFormIn } it.AppliesToBasicRequestDetails = data case "appliesToSubjectAreas": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("appliesToSubjectAreas")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -55707,8 +55593,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteInitialRequestFormIn } it.AppliesToSubjectAreas = data case "appliesToAttendees": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("appliesToAttendees")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -55736,8 +55620,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteSupportingDocumentsI } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55745,8 +55627,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteSupportingDocumentsI } it.TrbRequestID = data case "noteText": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("noteText")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55754,8 +55634,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdminNoteSupportingDocumentsI } it.NoteText = data case "documentIDs": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentIDs")) data, err := ec.unmarshalNUUID2ᚕgithubᚗcomᚋgoogleᚋuuidᚐUUIDᚄ(ctx, v) if err != nil { @@ -55783,8 +55661,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdviceLetterRecommendationInp } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55792,8 +55668,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdviceLetterRecommendationInp } it.TrbRequestID = data case "title": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55801,8 +55675,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdviceLetterRecommendationInp } it.Title = data case "recommendation": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("recommendation")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55810,8 +55682,6 @@ func (ec *executionContext) unmarshalInputCreateTRBAdviceLetterRecommendationInp } it.Recommendation = data case "links": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("links")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -55839,8 +55709,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestAttendeeInput(ctx cont } switch k { case "euaUserId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("euaUserId")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55848,8 +55716,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestAttendeeInput(ctx cont } it.EuaUserID = data case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55857,8 +55723,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestAttendeeInput(ctx cont } it.TrbRequestID = data case "component": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -55866,8 +55730,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestAttendeeInput(ctx cont } it.Component = data case "role": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("role")) data, err := ec.unmarshalNPersonRole2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐPersonRole(ctx, v) if err != nil { @@ -55895,8 +55757,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestDocumentInput(ctx cont } switch k { case "requestID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55904,8 +55764,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestDocumentInput(ctx cont } it.RequestID = data case "fileData": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileData")) data, err := ec.unmarshalNUpload2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚐUpload(ctx, v) if err != nil { @@ -55913,8 +55771,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestDocumentInput(ctx cont } it.FileData = data case "documentType": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("documentType")) data, err := ec.unmarshalNTRBDocumentCommonType2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBDocumentCommonType(ctx, v) if err != nil { @@ -55922,8 +55778,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestDocumentInput(ctx cont } it.DocumentType = data case "otherTypeDescription": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("otherTypeDescription")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -55951,8 +55805,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestFeedbackInput(ctx cont } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -55960,8 +55812,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestFeedbackInput(ctx cont } it.TrbRequestID = data case "feedbackMessage": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("feedbackMessage")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -55969,8 +55819,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestFeedbackInput(ctx cont } it.FeedbackMessage = data case "copyTrbMailbox": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("copyTrbMailbox")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -55978,8 +55826,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestFeedbackInput(ctx cont } it.CopyTrbMailbox = data case "notifyEuaIds": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notifyEuaIds")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -55987,8 +55833,6 @@ func (ec *executionContext) unmarshalInputCreateTRBRequestFeedbackInput(ctx cont } it.NotifyEuaIds = data case "action": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("action")) data, err := ec.unmarshalNTRBFeedbackAction2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBFeedbackAction(ctx, v) if err != nil { @@ -56016,8 +55860,6 @@ func (ec *executionContext) unmarshalInputCreateTestDateInput(ctx context.Contex } switch k { case "date": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("date")) data, err := ec.unmarshalNTime2timeᚐTime(ctx, v) if err != nil { @@ -56025,8 +55867,6 @@ func (ec *executionContext) unmarshalInputCreateTestDateInput(ctx context.Contex } it.Date = data case "requestID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56034,8 +55874,6 @@ func (ec *executionContext) unmarshalInputCreateTestDateInput(ctx context.Contex } it.RequestID = data case "score": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("score")) data, err := ec.unmarshalOInt2ᚖint(ctx, v) if err != nil { @@ -56043,8 +55881,6 @@ func (ec *executionContext) unmarshalInputCreateTestDateInput(ctx context.Contex } it.Score = data case "testType": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("testType")) data, err := ec.unmarshalNTestDateTestType2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTestDateTestType(ctx, v) if err != nil { @@ -56072,8 +55908,6 @@ func (ec *executionContext) unmarshalInputDeleteAccessibilityRequestDocumentInpu } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56101,8 +55935,6 @@ func (ec *executionContext) unmarshalInputDeleteAccessibilityRequestInput(ctx co } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56110,8 +55942,6 @@ func (ec *executionContext) unmarshalInputDeleteAccessibilityRequestInput(ctx co } it.ID = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalNAccessibilityRequestDeletionReason2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐAccessibilityRequestDeletionReason(ctx, v) if err != nil { @@ -56139,8 +55969,6 @@ func (ec *executionContext) unmarshalInputDeleteSystemIntakeContactInput(ctx con } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56168,8 +55996,6 @@ func (ec *executionContext) unmarshalInputDeleteTRBRequestFundingSourcesInput(ct } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56177,8 +56003,6 @@ func (ec *executionContext) unmarshalInputDeleteTRBRequestFundingSourcesInput(ct } it.TrbRequestID = data case "fundingNumber": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fundingNumber")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56206,8 +56030,6 @@ func (ec *executionContext) unmarshalInputDeleteTestDateInput(ctx context.Contex } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56235,8 +56057,6 @@ func (ec *executionContext) unmarshalInputEmailNotificationRecipients(ctx contex } switch k { case "regularRecipientEmails": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("regularRecipientEmails")) data, err := ec.unmarshalNEmailAddress2ᚕgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailAddressᚄ(ctx, v) if err != nil { @@ -56244,8 +56064,6 @@ func (ec *executionContext) unmarshalInputEmailNotificationRecipients(ctx contex } it.RegularRecipientEmails = data case "shouldNotifyITGovernance": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("shouldNotifyITGovernance")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -56253,8 +56071,6 @@ func (ec *executionContext) unmarshalInputEmailNotificationRecipients(ctx contex } it.ShouldNotifyITGovernance = data case "shouldNotifyITInvestment": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("shouldNotifyITInvestment")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -56282,8 +56098,6 @@ func (ec *executionContext) unmarshalInputGeneratePresignedUploadURLInput(ctx co } switch k { case "fileName": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fileName")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56291,8 +56105,6 @@ func (ec *executionContext) unmarshalInputGeneratePresignedUploadURLInput(ctx co } it.FileName = data case "mimeType": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("mimeType")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56300,8 +56112,6 @@ func (ec *executionContext) unmarshalInputGeneratePresignedUploadURLInput(ctx co } it.MimeType = data case "size": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("size")) data, err := ec.unmarshalNInt2int(ctx, v) if err != nil { @@ -56329,8 +56139,6 @@ func (ec *executionContext) unmarshalInputIssueLifecycleIdInput(ctx context.Cont } switch k { case "expiresAt": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expiresAt")) data, err := ec.unmarshalNTime2timeᚐTime(ctx, v) if err != nil { @@ -56338,8 +56146,6 @@ func (ec *executionContext) unmarshalInputIssueLifecycleIdInput(ctx context.Cont } it.ExpiresAt = data case "feedback": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("feedback")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -56347,8 +56153,6 @@ func (ec *executionContext) unmarshalInputIssueLifecycleIdInput(ctx context.Cont } it.Feedback = data case "intakeId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("intakeId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56356,8 +56160,6 @@ func (ec *executionContext) unmarshalInputIssueLifecycleIdInput(ctx context.Cont } it.IntakeID = data case "lcid": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lcid")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -56365,8 +56167,6 @@ func (ec *executionContext) unmarshalInputIssueLifecycleIdInput(ctx context.Cont } it.Lcid = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -56374,8 +56174,6 @@ func (ec *executionContext) unmarshalInputIssueLifecycleIdInput(ctx context.Cont } it.NextSteps = data case "scope": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("scope")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -56383,8 +56181,6 @@ func (ec *executionContext) unmarshalInputIssueLifecycleIdInput(ctx context.Cont } it.Scope = data case "costBaseline": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("costBaseline")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -56392,8 +56188,6 @@ func (ec *executionContext) unmarshalInputIssueLifecycleIdInput(ctx context.Cont } it.CostBaseline = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -56421,8 +56215,6 @@ func (ec *executionContext) unmarshalInputRejectIntakeInput(ctx context.Context, } switch k { case "feedback": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("feedback")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -56430,8 +56222,6 @@ func (ec *executionContext) unmarshalInputRejectIntakeInput(ctx context.Context, } it.Feedback = data case "intakeId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("intakeId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56439,8 +56229,6 @@ func (ec *executionContext) unmarshalInputRejectIntakeInput(ctx context.Context, } it.IntakeID = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -56448,8 +56236,6 @@ func (ec *executionContext) unmarshalInputRejectIntakeInput(ctx context.Context, } it.NextSteps = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -56457,8 +56243,6 @@ func (ec *executionContext) unmarshalInputRejectIntakeInput(ctx context.Context, } it.Reason = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -56486,8 +56270,6 @@ func (ec *executionContext) unmarshalInputReopenTRBRequestInput(ctx context.Cont } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56495,8 +56277,6 @@ func (ec *executionContext) unmarshalInputReopenTRBRequestInput(ctx context.Cont } it.TrbRequestID = data case "reasonReopened": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reasonReopened")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -56504,8 +56284,6 @@ func (ec *executionContext) unmarshalInputReopenTRBRequestInput(ctx context.Cont } it.ReasonReopened = data case "copyTrbMailbox": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("copyTrbMailbox")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -56513,8 +56291,6 @@ func (ec *executionContext) unmarshalInputReopenTRBRequestInput(ctx context.Cont } it.CopyTrbMailbox = data case "notifyEuaIds": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notifyEuaIds")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -56542,8 +56318,6 @@ func (ec *executionContext) unmarshalInputSendCantFindSomethingEmailInput(ctx co } switch k { case "body": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("body")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56571,8 +56345,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } switch k { case "isAnonymous": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isAnonymous")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -56580,8 +56352,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.IsAnonymous = data case "canBeContacted": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("canBeContacted")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -56589,8 +56359,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.CanBeContacted = data case "easiServicesUsed": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("easiServicesUsed")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -56598,8 +56366,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.EasiServicesUsed = data case "cmsRole": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cmsRole")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56607,8 +56373,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.CmsRole = data case "systemEasyToUse": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemEasyToUse")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56616,8 +56380,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.SystemEasyToUse = data case "didntNeedHelpAnswering": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("didntNeedHelpAnswering")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56625,8 +56387,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.DidntNeedHelpAnswering = data case "questionsWereRelevant": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("questionsWereRelevant")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56634,8 +56394,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.QuestionsWereRelevant = data case "hadAccessToInformation": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hadAccessToInformation")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56643,8 +56401,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.HadAccessToInformation = data case "howSatisfied": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("howSatisfied")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56652,8 +56408,6 @@ func (ec *executionContext) unmarshalInputSendFeedbackEmailInput(ctx context.Con } it.HowSatisfied = data case "howCanWeImprove": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("howCanWeImprove")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56681,8 +56435,6 @@ func (ec *executionContext) unmarshalInputSendReportAProblemEmailInput(ctx conte } switch k { case "isAnonymous": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isAnonymous")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -56690,8 +56442,6 @@ func (ec *executionContext) unmarshalInputSendReportAProblemEmailInput(ctx conte } it.IsAnonymous = data case "canBeContacted": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("canBeContacted")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -56699,8 +56449,6 @@ func (ec *executionContext) unmarshalInputSendReportAProblemEmailInput(ctx conte } it.CanBeContacted = data case "easiService": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("easiService")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56708,8 +56456,6 @@ func (ec *executionContext) unmarshalInputSendReportAProblemEmailInput(ctx conte } it.EasiService = data case "whatWereYouDoing": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("whatWereYouDoing")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56717,8 +56463,6 @@ func (ec *executionContext) unmarshalInputSendReportAProblemEmailInput(ctx conte } it.WhatWereYouDoing = data case "whatWentWrong": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("whatWentWrong")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56726,8 +56470,6 @@ func (ec *executionContext) unmarshalInputSendReportAProblemEmailInput(ctx conte } it.WhatWentWrong = data case "howSevereWasTheProblem": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("howSevereWasTheProblem")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56755,8 +56497,6 @@ func (ec *executionContext) unmarshalInputSendTRBAdviceLetterInput(ctx context.C } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56764,8 +56504,6 @@ func (ec *executionContext) unmarshalInputSendTRBAdviceLetterInput(ctx context.C } it.ID = data case "copyTrbMailbox": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("copyTrbMailbox")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -56773,8 +56511,6 @@ func (ec *executionContext) unmarshalInputSendTRBAdviceLetterInput(ctx context.C } it.CopyTrbMailbox = data case "notifyEuaIds": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notifyEuaIds")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -56802,8 +56538,6 @@ func (ec *executionContext) unmarshalInputSetRolesForUserOnSystemInput(ctx conte } switch k { case "cedarSystemID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cedarSystemID")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56811,8 +56545,6 @@ func (ec *executionContext) unmarshalInputSetRolesForUserOnSystemInput(ctx conte } it.CedarSystemID = data case "euaUserId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("euaUserId")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56820,8 +56552,6 @@ func (ec *executionContext) unmarshalInputSetRolesForUserOnSystemInput(ctx conte } it.EuaUserID = data case "desiredRoleTypeIDs": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("desiredRoleTypeIDs")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -56849,8 +56579,6 @@ func (ec *executionContext) unmarshalInputSetSystemIntakeRelationExistingService } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56858,8 +56586,6 @@ func (ec *executionContext) unmarshalInputSetSystemIntakeRelationExistingService } it.SystemIntakeID = data case "contractName": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractName")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -56867,8 +56593,6 @@ func (ec *executionContext) unmarshalInputSetSystemIntakeRelationExistingService } it.ContractName = data case "contractNumbers": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractNumbers")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -56896,8 +56620,6 @@ func (ec *executionContext) unmarshalInputSetSystemIntakeRelationExistingSystemI } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56905,8 +56627,6 @@ func (ec *executionContext) unmarshalInputSetSystemIntakeRelationExistingSystemI } it.SystemIntakeID = data case "cedarSystemIDs": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cedarSystemIDs")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -56914,8 +56634,6 @@ func (ec *executionContext) unmarshalInputSetSystemIntakeRelationExistingSystemI } it.CedarSystemIDs = data case "contractNumbers": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractNumbers")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -56943,8 +56661,6 @@ func (ec *executionContext) unmarshalInputSetSystemIntakeRelationNewSystemInput( } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -56952,8 +56668,6 @@ func (ec *executionContext) unmarshalInputSetSystemIntakeRelationNewSystemInput( } it.SystemIntakeID = data case "contractNumbers": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractNumbers")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -56981,8 +56695,6 @@ func (ec *executionContext) unmarshalInputSubmitIntakeInput(ctx context.Context, } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -57010,8 +56722,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeAnnualSpendingInput(ctx co } switch k { case "currentAnnualSpending": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("currentAnnualSpending")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57019,8 +56729,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeAnnualSpendingInput(ctx co } it.CurrentAnnualSpending = data case "currentAnnualSpendingITPortion": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("currentAnnualSpendingITPortion")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57028,8 +56736,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeAnnualSpendingInput(ctx co } it.CurrentAnnualSpendingITPortion = data case "plannedYearOneSpending": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("plannedYearOneSpending")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57037,8 +56743,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeAnnualSpendingInput(ctx co } it.PlannedYearOneSpending = data case "plannedYearOneSpendingITPortion": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("plannedYearOneSpendingITPortion")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57066,8 +56770,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeBusinessOwnerInput(ctx con } switch k { case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -57075,8 +56777,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeBusinessOwnerInput(ctx con } it.Name = data case "component": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -57104,8 +56804,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeChangeLCIDRetirementDateIn } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -57113,8 +56811,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeChangeLCIDRetirementDateIn } it.SystemIntakeID = data case "retiresAt": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("retiresAt")) data, err := ec.unmarshalNTime2timeᚐTime(ctx, v) if err != nil { @@ -57122,8 +56818,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeChangeLCIDRetirementDateIn } it.RetiresAt = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57131,8 +56825,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeChangeLCIDRetirementDateIn } it.AdditionalInfo = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -57140,8 +56832,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeChangeLCIDRetirementDateIn } it.NotificationRecipients = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57169,8 +56859,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCloseRequestInput(ctx cont } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -57178,8 +56866,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCloseRequestInput(ctx cont } it.SystemIntakeID = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -57187,8 +56873,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCloseRequestInput(ctx cont } it.NotificationRecipients = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57196,8 +56880,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCloseRequestInput(ctx cont } it.Reason = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57205,8 +56887,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCloseRequestInput(ctx cont } it.AdditionalInfo = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57234,8 +56914,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCollaboratorInput(ctx cont } switch k { case "collaborator": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collaborator")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -57243,8 +56921,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCollaboratorInput(ctx cont } it.Collaborator = data case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -57252,8 +56928,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCollaboratorInput(ctx cont } it.Name = data case "key": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("key")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -57281,8 +56955,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -57290,8 +56962,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } it.SystemIntakeID = data case "expiresAt": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expiresAt")) data, err := ec.unmarshalNTime2timeᚐTime(ctx, v) if err != nil { @@ -57299,8 +56969,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } it.ExpiresAt = data case "scope": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("scope")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57308,8 +56976,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } it.Scope = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57317,8 +56983,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } it.NextSteps = data case "trbFollowUp": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbFollowUp")) data, err := ec.unmarshalNSystemIntakeTRBFollowUp2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐSystemIntakeTRBFollowUp(ctx, v) if err != nil { @@ -57326,8 +56990,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } it.TrbFollowUp = data case "costBaseline": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("costBaseline")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57335,8 +56997,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } it.CostBaseline = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57344,8 +57004,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } it.AdditionalInfo = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -57353,8 +57011,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeConfirmLCIDInput(ctx conte } it.NotificationRecipients = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57382,8 +57038,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeContractInput(ctx context. } switch k { case "contractor": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractor")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57391,8 +57045,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeContractInput(ctx context. } it.Contractor = data case "endDate": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("endDate")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -57400,8 +57052,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeContractInput(ctx context. } it.EndDate = data case "hasContract": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hasContract")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57409,8 +57059,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeContractInput(ctx context. } it.HasContract = data case "startDate": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("startDate")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -57418,8 +57066,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeContractInput(ctx context. } it.StartDate = data case "number": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("number")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57447,8 +57093,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCostsInput(ctx context.Con } switch k { case "expectedIncreaseAmount": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expectedIncreaseAmount")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57456,8 +57100,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeCostsInput(ctx context.Con } it.ExpectedIncreaseAmount = data case "isExpectingIncrease": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isExpectingIncrease")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57485,8 +57127,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeExpireLCIDInput(ctx contex } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -57494,8 +57134,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeExpireLCIDInput(ctx contex } it.SystemIntakeID = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57503,8 +57141,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeExpireLCIDInput(ctx contex } it.Reason = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57512,8 +57148,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeExpireLCIDInput(ctx contex } it.NextSteps = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -57521,8 +57155,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeExpireLCIDInput(ctx contex } it.NotificationRecipients = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57530,8 +57162,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeExpireLCIDInput(ctx contex } it.AdditionalInfo = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57559,8 +57189,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeFundingSourceInput(ctx con } switch k { case "fundingNumber": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fundingNumber")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57568,8 +57196,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeFundingSourceInput(ctx con } it.FundingNumber = data case "source": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("source")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57597,8 +57223,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeFundingSourcesInput(ctx co } switch k { case "existingFunding": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("existingFunding")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -57606,8 +57230,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeFundingSourcesInput(ctx co } it.ExistingFunding = data case "fundingSources": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fundingSources")) data, err := ec.unmarshalNSystemIntakeFundingSourceInput2ᚕᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeFundingSourceInputᚄ(ctx, v) if err != nil { @@ -57635,8 +57257,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeGovernanceTeamInput(ctx co } switch k { case "isPresent": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isPresent")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -57644,8 +57264,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeGovernanceTeamInput(ctx co } it.IsPresent = data case "teams": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("teams")) data, err := ec.unmarshalOSystemIntakeCollaboratorInput2ᚕᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeCollaboratorInput(ctx, v) if err != nil { @@ -57673,8 +57291,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeISSOInput(ctx context.Cont } switch k { case "isPresent": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isPresent")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -57682,8 +57298,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeISSOInput(ctx context.Cont } it.IsPresent = data case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57711,8 +57325,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -57720,8 +57332,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.SystemIntakeID = data case "lcid": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lcid")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57729,8 +57339,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.Lcid = data case "expiresAt": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expiresAt")) data, err := ec.unmarshalNTime2timeᚐTime(ctx, v) if err != nil { @@ -57738,8 +57346,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.ExpiresAt = data case "scope": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("scope")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57747,8 +57353,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.Scope = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57756,8 +57360,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.NextSteps = data case "trbFollowUp": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbFollowUp")) data, err := ec.unmarshalNSystemIntakeTRBFollowUp2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐSystemIntakeTRBFollowUp(ctx, v) if err != nil { @@ -57765,8 +57367,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.TrbFollowUp = data case "costBaseline": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("costBaseline")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -57774,8 +57374,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.CostBaseline = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57783,8 +57381,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.AdditionalInfo = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -57792,8 +57388,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeIssueLCIDInput(ctx context } it.NotificationRecipients = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57821,8 +57415,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeNotITGovReqInput(ctx conte } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -57830,8 +57422,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeNotITGovReqInput(ctx conte } it.SystemIntakeID = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -57839,8 +57429,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeNotITGovReqInput(ctx conte } it.NotificationRecipients = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57848,8 +57436,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeNotITGovReqInput(ctx conte } it.Reason = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57857,8 +57443,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeNotITGovReqInput(ctx conte } it.AdditionalInfo = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57886,8 +57470,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProductManagerInput(ctx co } switch k { case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -57895,8 +57477,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProductManagerInput(ctx co } it.Name = data case "component": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -57924,8 +57504,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProgressToNewStepsInput(ct } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -57933,8 +57511,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProgressToNewStepsInput(ct } it.SystemIntakeID = data case "newStep": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("newStep")) data, err := ec.unmarshalNSystemIntakeStepToProgressTo2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeStepToProgressTo(ctx, v) if err != nil { @@ -57942,8 +57518,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProgressToNewStepsInput(ct } it.NewStep = data case "meetingDate": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("meetingDate")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -57951,8 +57525,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProgressToNewStepsInput(ct } it.MeetingDate = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -57960,8 +57532,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProgressToNewStepsInput(ct } it.NotificationRecipients = data case "feedback": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("feedback")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57969,8 +57539,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProgressToNewStepsInput(ct } it.Feedback = data case "grbRecommendations": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("grbRecommendations")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57978,8 +57546,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProgressToNewStepsInput(ct } it.GrbRecommendations = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -57987,8 +57553,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeProgressToNewStepsInput(ct } it.AdditionalInfo = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58016,8 +57580,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRejectIntakeInput(ctx cont } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58025,8 +57587,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRejectIntakeInput(ctx cont } it.SystemIntakeID = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58034,8 +57594,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRejectIntakeInput(ctx cont } it.Reason = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58043,8 +57601,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRejectIntakeInput(ctx cont } it.NextSteps = data case "trbFollowUp": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbFollowUp")) data, err := ec.unmarshalNSystemIntakeTRBFollowUp2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐSystemIntakeTRBFollowUp(ctx, v) if err != nil { @@ -58052,8 +57608,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRejectIntakeInput(ctx cont } it.TrbFollowUp = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58061,8 +57615,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRejectIntakeInput(ctx cont } it.AdditionalInfo = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -58070,8 +57622,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRejectIntakeInput(ctx cont } it.NotificationRecipients = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58099,8 +57649,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeReopenRequestInput(ctx con } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58108,8 +57656,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeReopenRequestInput(ctx con } it.SystemIntakeID = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -58117,8 +57663,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeReopenRequestInput(ctx con } it.NotificationRecipients = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58126,8 +57670,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeReopenRequestInput(ctx con } it.Reason = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58135,8 +57677,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeReopenRequestInput(ctx con } it.AdditionalInfo = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58164,8 +57704,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequestEditsInput(ctx cont } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58173,8 +57711,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequestEditsInput(ctx cont } it.SystemIntakeID = data case "intakeFormStep": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("intakeFormStep")) data, err := ec.unmarshalNSystemIntakeFormStep2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeFormStep(ctx, v) if err != nil { @@ -58182,8 +57718,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequestEditsInput(ctx cont } it.IntakeFormStep = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -58191,8 +57725,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequestEditsInput(ctx cont } it.NotificationRecipients = data case "emailFeedback": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("emailFeedback")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58200,8 +57732,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequestEditsInput(ctx cont } it.EmailFeedback = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58209,8 +57739,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequestEditsInput(ctx cont } it.AdditionalInfo = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58238,8 +57766,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequesterInput(ctx context } switch k { case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -58267,8 +57793,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequesterWithComponentInpu } switch k { case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -58276,8 +57800,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRequesterWithComponentInpu } it.Name = data case "component": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -58305,8 +57827,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRetireLCIDInput(ctx contex } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58314,8 +57834,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRetireLCIDInput(ctx contex } it.SystemIntakeID = data case "retiresAt": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("retiresAt")) data, err := ec.unmarshalNTime2timeᚐTime(ctx, v) if err != nil { @@ -58323,8 +57841,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRetireLCIDInput(ctx contex } it.RetiresAt = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58332,8 +57848,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRetireLCIDInput(ctx contex } it.Reason = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58341,8 +57855,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRetireLCIDInput(ctx contex } it.AdditionalInfo = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -58350,8 +57862,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeRetireLCIDInput(ctx contex } it.NotificationRecipients = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58379,8 +57889,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } switch k { case "systemIntakeID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58388,8 +57896,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } it.SystemIntakeID = data case "expiresAt": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expiresAt")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -58397,8 +57903,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } it.ExpiresAt = data case "scope": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("scope")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58406,8 +57910,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } it.Scope = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58415,8 +57917,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } it.NextSteps = data case "costBaseline": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("costBaseline")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -58424,8 +57924,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } it.CostBaseline = data case "reason": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reason")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58433,8 +57931,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } it.Reason = data case "additionalInfo": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalInfo")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58442,8 +57938,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } it.AdditionalInfo = data case "notificationRecipients": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notificationRecipients")) data, err := ec.unmarshalOEmailNotificationRecipients2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐEmailNotificationRecipients(ctx, v) if err != nil { @@ -58451,8 +57945,6 @@ func (ec *executionContext) unmarshalInputSystemIntakeUpdateLCIDInput(ctx contex } it.NotificationRecipients = data case "adminNote": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminNote")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58480,8 +57972,6 @@ func (ec *executionContext) unmarshalInputTRBRequestChanges(ctx context.Context, } switch k { case "name": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -58489,8 +57979,6 @@ func (ec *executionContext) unmarshalInputTRBRequestChanges(ctx context.Context, } it["name"] = data case "archived": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("archived")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -58498,8 +57986,6 @@ func (ec *executionContext) unmarshalInputTRBRequestChanges(ctx context.Context, } it["archived"] = data case "type": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) data, err := ec.unmarshalOTRBRequestType2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBRequestType(ctx, v) if err != nil { @@ -58527,8 +58013,6 @@ func (ec *executionContext) unmarshalInputUpdateAccessibilityRequestCedarSystemI } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58536,8 +58020,6 @@ func (ec *executionContext) unmarshalInputUpdateAccessibilityRequestCedarSystemI } it.ID = data case "cedarSystemId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cedarSystemId")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -58565,8 +58047,6 @@ func (ec *executionContext) unmarshalInputUpdateAccessibilityRequestStatus(ctx c } switch k { case "requestID": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestID")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58574,8 +58054,6 @@ func (ec *executionContext) unmarshalInputUpdateAccessibilityRequestStatus(ctx c } it.RequestID = data case "status": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("status")) data, err := ec.unmarshalNAccessibilityRequestStatus2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐAccessibilityRequestStatus(ctx, v) if err != nil { @@ -58603,8 +58081,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeAdminLeadInput(ctx c } switch k { case "adminLead": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("adminLead")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -58612,8 +58088,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeAdminLeadInput(ctx c } it.AdminLead = data case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58641,8 +58115,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactDetailsInput( } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58650,8 +58122,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactDetailsInput( } it.ID = data case "requester": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requester")) data, err := ec.unmarshalNSystemIntakeRequesterWithComponentInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeRequesterWithComponentInput(ctx, v) if err != nil { @@ -58659,8 +58129,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactDetailsInput( } it.Requester = data case "businessOwner": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("businessOwner")) data, err := ec.unmarshalNSystemIntakeBusinessOwnerInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeBusinessOwnerInput(ctx, v) if err != nil { @@ -58668,8 +58136,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactDetailsInput( } it.BusinessOwner = data case "productManager": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("productManager")) data, err := ec.unmarshalNSystemIntakeProductManagerInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeProductManagerInput(ctx, v) if err != nil { @@ -58677,8 +58143,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactDetailsInput( } it.ProductManager = data case "isso": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isso")) data, err := ec.unmarshalNSystemIntakeISSOInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeISSOInput(ctx, v) if err != nil { @@ -58686,8 +58150,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactDetailsInput( } it.Isso = data case "governanceTeams": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("governanceTeams")) data, err := ec.unmarshalNSystemIntakeGovernanceTeamInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeGovernanceTeamInput(ctx, v) if err != nil { @@ -58715,8 +58177,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactInput(ctx con } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58724,8 +58184,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactInput(ctx con } it.ID = data case "euaUserId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("euaUserId")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -58733,8 +58191,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactInput(ctx con } it.EuaUserID = data case "systemIntakeId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakeId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58742,8 +58198,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactInput(ctx con } it.SystemIntakeID = data case "component": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -58751,8 +58205,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContactInput(ctx con } it.Component = data case "role": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("role")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -58780,8 +58232,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContractDetailsInput } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58789,8 +58239,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContractDetailsInput } it.ID = data case "fundingSources": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fundingSources")) data, err := ec.unmarshalOSystemIntakeFundingSourcesInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeFundingSourcesInput(ctx, v) if err != nil { @@ -58798,8 +58246,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContractDetailsInput } it.FundingSources = data case "costs": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("costs")) data, err := ec.unmarshalOSystemIntakeCostsInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeCostsInput(ctx, v) if err != nil { @@ -58807,8 +58253,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContractDetailsInput } it.Costs = data case "annualSpending": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("annualSpending")) data, err := ec.unmarshalOSystemIntakeAnnualSpendingInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeAnnualSpendingInput(ctx, v) if err != nil { @@ -58816,8 +58260,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeContractDetailsInput } it.AnnualSpending = data case "contract": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contract")) data, err := ec.unmarshalOSystemIntakeContractInput2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋgraphᚋmodelᚐSystemIntakeContractInput(ctx, v) if err != nil { @@ -58845,8 +58287,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeLinkedCedarSystemInp } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58854,8 +58294,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeLinkedCedarSystemInp } it.ID = data case "cedarSystemId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cedarSystemId")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -58883,8 +58321,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeLinkedContractInput( } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58892,8 +58328,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeLinkedContractInput( } it.ID = data case "contractNumber": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractNumber")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -58921,8 +58355,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeNoteInput(ctx contex } switch k { case "content": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("content")) data, err := ec.unmarshalNHTML2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -58930,8 +58362,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeNoteInput(ctx contex } it.Content = data case "isArchived": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isArchived")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -58939,8 +58369,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeNoteInput(ctx contex } it.IsArchived = data case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58968,8 +58396,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeRequestDetailsInput( } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -58977,8 +58403,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeRequestDetailsInput( } it.ID = data case "requestName": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("requestName")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -58986,8 +58410,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeRequestDetailsInput( } it.RequestName = data case "businessNeed": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("businessNeed")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -58995,8 +58417,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeRequestDetailsInput( } it.BusinessNeed = data case "businessSolution": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("businessSolution")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59004,8 +58424,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeRequestDetailsInput( } it.BusinessSolution = data case "needsEaSupport": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("needsEaSupport")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -59013,8 +58431,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeRequestDetailsInput( } it.NeedsEaSupport = data case "currentStage": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("currentStage")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59022,8 +58438,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeRequestDetailsInput( } it.CurrentStage = data case "cedarSystemId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cedarSystemId")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59031,8 +58445,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeRequestDetailsInput( } it.CedarSystemID = data case "hasUiChanges": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hasUiChanges")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -59060,8 +58472,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeReviewDatesInput(ctx } switch k { case "grbDate": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("grbDate")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -59069,8 +58479,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeReviewDatesInput(ctx } it.GrbDate = data case "grtDate": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("grtDate")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -59078,8 +58486,6 @@ func (ec *executionContext) unmarshalInputUpdateSystemIntakeReviewDatesInput(ctx } it.GrtDate = data case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59107,8 +58513,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterInput(ctx context } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59116,8 +58520,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterInput(ctx context } it["trbRequestId"] = data case "meetingSummary": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("meetingSummary")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -59125,8 +58527,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterInput(ctx context } it["meetingSummary"] = data case "nextSteps": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nextSteps")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -59134,8 +58534,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterInput(ctx context } it["nextSteps"] = data case "isFollowupRecommended": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isFollowupRecommended")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -59143,8 +58541,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterInput(ctx context } it["isFollowupRecommended"] = data case "followupPoint": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("followupPoint")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59172,8 +58568,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterRecommendationInp } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59181,8 +58575,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterRecommendationInp } it["id"] = data case "title": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59190,8 +58582,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterRecommendationInp } it["title"] = data case "recommendation": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("recommendation")) data, err := ec.unmarshalOHTML2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐHTML(ctx, v) if err != nil { @@ -59199,8 +58589,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterRecommendationInp } it["recommendation"] = data case "links": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("links")) data, err := ec.unmarshalOString2ᚕstringᚄ(ctx, v) if err != nil { @@ -59228,8 +58616,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterRecommendationOrd } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59237,8 +58623,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBAdviceLetterRecommendationOrd } it.TrbRequestID = data case "newOrder": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("newOrder")) data, err := ec.unmarshalNUUID2ᚕgithubᚗcomᚋgoogleᚋuuidᚐUUIDᚄ(ctx, v) if err != nil { @@ -59266,8 +58650,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestAttendeeInput(ctx cont } switch k { case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59275,8 +58657,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestAttendeeInput(ctx cont } it.ID = data case "component": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -59284,8 +58664,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestAttendeeInput(ctx cont } it.Component = data case "role": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("role")) data, err := ec.unmarshalNPersonRole2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐPersonRole(ctx, v) if err != nil { @@ -59313,8 +58691,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestConsultMeetingTimeInpu } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59322,8 +58698,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestConsultMeetingTimeInpu } it.TrbRequestID = data case "consultMeetingTime": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("consultMeetingTime")) data, err := ec.unmarshalNTime2timeᚐTime(ctx, v) if err != nil { @@ -59331,8 +58705,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestConsultMeetingTimeInpu } it.ConsultMeetingTime = data case "copyTrbMailbox": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("copyTrbMailbox")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -59340,8 +58712,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestConsultMeetingTimeInpu } it.CopyTrbMailbox = data case "notifyEuaIds": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notifyEuaIds")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -59349,8 +58719,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestConsultMeetingTimeInpu } it.NotifyEuaIds = data case "notes": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("notes")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -59378,8 +58746,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59387,8 +58753,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["trbRequestId"] = data case "isSubmitted": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("isSubmitted")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -59396,8 +58760,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["isSubmitted"] = data case "component": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("component")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59405,8 +58767,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["component"] = data case "needsAssistanceWith": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("needsAssistanceWith")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59414,8 +58774,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["needsAssistanceWith"] = data case "hasSolutionInMind": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hasSolutionInMind")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -59423,8 +58781,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["hasSolutionInMind"] = data case "proposedSolution": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("proposedSolution")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59432,8 +58788,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["proposedSolution"] = data case "whereInProcess": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("whereInProcess")) data, err := ec.unmarshalOTRBWhereInProcessOption2ᚖgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBWhereInProcessOption(ctx, v) if err != nil { @@ -59441,8 +58795,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["whereInProcess"] = data case "whereInProcessOther": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("whereInProcessOther")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59450,8 +58802,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["whereInProcessOther"] = data case "hasExpectedStartEndDates": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hasExpectedStartEndDates")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -59459,8 +58809,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["hasExpectedStartEndDates"] = data case "expectedStartDate": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expectedStartDate")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -59468,8 +58816,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["expectedStartDate"] = data case "expectedEndDate": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("expectedEndDate")) data, err := ec.unmarshalOTime2ᚖtimeᚐTime(ctx, v) if err != nil { @@ -59477,8 +58823,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["expectedEndDate"] = data case "collabGroups": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabGroups")) data, err := ec.unmarshalOTRBCollabGroupOption2ᚕgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBCollabGroupOptionᚄ(ctx, v) if err != nil { @@ -59486,8 +58830,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabGroups"] = data case "collabDateSecurity": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateSecurity")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59495,8 +58837,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabDateSecurity"] = data case "collabDateEnterpriseArchitecture": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateEnterpriseArchitecture")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59504,8 +58844,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabDateEnterpriseArchitecture"] = data case "collabDateCloud": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateCloud")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59513,8 +58851,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabDateCloud"] = data case "collabDatePrivacyAdvisor": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDatePrivacyAdvisor")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59522,8 +58858,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabDatePrivacyAdvisor"] = data case "collabDateGovernanceReviewBoard": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateGovernanceReviewBoard")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59531,8 +58865,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabDateGovernanceReviewBoard"] = data case "collabDateOther": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabDateOther")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59540,8 +58872,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabDateOther"] = data case "collabGroupOther": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabGroupOther")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59549,8 +58879,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabGroupOther"] = data case "collabGRBConsultRequested": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("collabGRBConsultRequested")) data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) if err != nil { @@ -59558,8 +58886,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["collabGRBConsultRequested"] = data case "systemIntakes": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("systemIntakes")) data, err := ec.unmarshalOUUID2ᚕgithubᚗcomᚋgoogleᚋuuidᚐUUIDᚄ(ctx, v) if err != nil { @@ -59567,8 +58893,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["systemIntakes"] = data case "subjectAreaOptions": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("subjectAreaOptions")) data, err := ec.unmarshalOTRBSubjectAreaOption2ᚕgithubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTRBSubjectAreaOptionᚄ(ctx, v) if err != nil { @@ -59576,8 +58900,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFormInput(ctx context. } it["subjectAreaOptions"] = data case "subjectAreaOptionOther": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("subjectAreaOptionOther")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -59605,8 +58927,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFundingSourcesInput(ct } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59614,8 +58934,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFundingSourcesInput(ct } it.TrbRequestID = data case "fundingNumber": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fundingNumber")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -59623,8 +58941,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestFundingSourcesInput(ct } it.FundingNumber = data case "sources": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("sources")) data, err := ec.unmarshalNString2ᚕstringᚄ(ctx, v) if err != nil { @@ -59652,8 +58968,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestTRBLeadInput(ctx conte } switch k { case "trbRequestId": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbRequestId")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59661,8 +58975,6 @@ func (ec *executionContext) unmarshalInputUpdateTRBRequestTRBLeadInput(ctx conte } it.TrbRequestID = data case "trbLead": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("trbLead")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -59690,8 +59002,6 @@ func (ec *executionContext) unmarshalInputUpdateTestDateInput(ctx context.Contex } switch k { case "date": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("date")) data, err := ec.unmarshalNTime2timeᚐTime(ctx, v) if err != nil { @@ -59699,8 +59009,6 @@ func (ec *executionContext) unmarshalInputUpdateTestDateInput(ctx context.Contex } it.Date = data case "id": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id")) data, err := ec.unmarshalNUUID2githubᚗcomᚋgoogleᚋuuidᚐUUID(ctx, v) if err != nil { @@ -59708,8 +59016,6 @@ func (ec *executionContext) unmarshalInputUpdateTestDateInput(ctx context.Contex } it.ID = data case "score": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("score")) data, err := ec.unmarshalOInt2ᚖint(ctx, v) if err != nil { @@ -59717,8 +59023,6 @@ func (ec *executionContext) unmarshalInputUpdateTestDateInput(ctx context.Contex } it.Score = data case "testType": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("testType")) data, err := ec.unmarshalNTestDateTestType2githubᚗcomᚋcmsgovᚋeasiᚑappᚋpkgᚋmodelsᚐTestDateTestType(ctx, v) if err != nil { diff --git a/pkg/graph/model/models_gen.go b/pkg/graph/model/models_gen.go index 451388f01f..41842aa2b1 100644 --- a/pkg/graph/model/models_gen.go +++ b/pkg/graph/model/models_gen.go @@ -429,6 +429,14 @@ type LaunchDarklySettings struct { SignedHash string `json:"signedHash"` } +// Defines the mutations for the schema +type Mutation struct { +} + +// Query definition for the schema +type Query struct { +} + // Input data for rejection of a system's IT governance request type RejectIntakeInput struct { Feedback models.HTML `json:"feedback"` From 9a95400811fdf65d95d4defdd32d1f7851ec5e8b Mon Sep 17 00:00:00 2001 From: samoddball Date: Wed, 14 Feb 2024 07:09:58 -0800 Subject: [PATCH 14/14] remove dependabot ignores --- .github/dependabot.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8012bbbc64..67ef686f78 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -36,9 +36,6 @@ updates: update-types: - "minor" - "patch" - ignore: - - dependency-name: "github.com/99designs/gqlgen" # Ignoring until https://github.com/99designs/gqlgen/issues/2026 and https://jiraent.cms.gov/browse/EASI-3510 are fixed - - dependency-name: "github.com/vektah/gqlparser/v2" # Ignoring until https://github.com/99designs/gqlgen/issues/2026 and https://jiraent.cms.gov/browse/EASI-3510 are fixed - package-ecosystem: "npm" directory: "/" schedule: