Skip to content

Commit 7575779

Browse files
authored
Revert "feat(network-subgraphs): Add idAsString field (#994)" (#995)
This reverts commit b186d98.
1 parent c366a52 commit 7575779

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/network-subgraphs/schema.graphql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ type StreamPermission @entity {
3535
type Stream @entity {
3636
"stream ID = 'creator address'/'path' where path can be any string"
3737
id: ID!
38-
"This field has the same value as the ID field. It enables us to perform substring queries on the id field using the idAsString_contains where clause"
39-
idAsString: String! @index
4038
"Stream metadata JSON"
4139
metadata: String!
4240
"Permissions that each Ethereum address owns to this stream"

packages/network-subgraphs/src/streamRegistry.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export function handleStreamCreation(event: StreamCreated): void {
2424
return
2525
}
2626
let stream = new Stream(event.params.id)
27-
stream.idAsString = event.params.id,
2827
stream.metadata = event.params.metadata
2928
stream.createdAt = event.block.timestamp
3029
stream.updatedAt = event.block.timestamp

0 commit comments

Comments
 (0)