Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions demo/pkg/subgraphs/employees/subgraph/employees.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ var Employees = []*model.Employee{
Title: []string{"Co-founder", "Tech Lead"},
},
Notes: strPtr("Dustin notes resolved by employees"),
Tag: "developer",
StartDate: "July 2022",
UpdatedAt: "2021-09-01T00:00:00Z",
},
Expand Down
23 changes: 22 additions & 1 deletion demo/pkg/subgraphs/projects/generated/mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,18 @@
"rpc": "LookupEmployeeById",
"request": "LookupEmployeeByIdRequest",
"response": "LookupEmployeeByIdResponse",
"requiredFieldMappings": []
"requiredFieldMappings": [
{
"fieldMapping": {
"original": "taggedProjectSummary",
"mapped": "tagged_project_summary",
"argumentMappings": []
},
"rpc": "RequireEmployeeTaggedProjectSummaryById",
"request": "RequireEmployeeTaggedProjectSummaryByIdRequest",
"response": "RequireEmployeeTaggedProjectSummaryByIdResponse"
}
]
},
{
"typeName": "Product",
Expand Down Expand Up @@ -881,6 +892,11 @@
"mapped": "id",
"argumentMappings": []
},
{
"original": "tag",
"mapped": "tag",
"argumentMappings": []
},
{
"original": "projects",
"mapped": "projects",
Expand Down Expand Up @@ -911,6 +927,11 @@
"mapped": "project_history",
"argumentMappings": []
},
{
"original": "taggedProjectSummary",
"mapped": "tagged_project_summary",
"argumentMappings": []
},
{
"original": "currentWorkload",
"mapped": "current_workload",
Expand Down
Loading
Loading