Skip to content

Commit db7a0f7

Browse files
authored
Remove usedIn field from dependency nodes (#1670)
1 parent 1e75ccd commit db7a0f7

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

  • schema/src/main/scala/io/shiftleft/codepropertygraph/schema

schema/src/main/scala/io/shiftleft/codepropertygraph/schema/Hidden.scala

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,11 @@ object Hidden extends SchemaBase {
136136
)
137137
.protoId(58)
138138

139-
val usedIn = builder
140-
.addProperty(
141-
name = "USED_IN",
142-
valueType = ValueType.String,
143-
comment = "The name of the file for which this include is valid"
144-
)
145-
.protoId(22919)
146-
147139
// node types
148140
val dependency: NodeType = builder
149141
.addNodeType(name = "DEPENDENCY", comment = "This node represents a dependency")
150142
.protoId(35)
151-
.addProperties(version, name, dependencyGroupId, usedIn)
143+
.addProperties(version, name, dependencyGroupId)
152144

153145
/*
154146
* Type hints

0 commit comments

Comments
 (0)