ShiftLeftSecurity / overflowdb

ShiftLeft OverflowDB
Apache License 2.0
112 stars 21 forks source link

collectAll path tracking #361

Closed bbrehm closed 1 year ago

bbrehm commented 1 year ago

To be merged after https://github.com/ShiftLeftSecurity/overflowdb/pull/360 (I want an unsquashed commit in our history that documents/tests current undesired behavior).

The code may superficially look more complicated than the old code. This is not the case; in fact the code is now much simpler: I unsugared the implicit classtag and its unapply method from the match statement.

The old documentation was somewhat optimistic, referring to "collect ... of type". I clarified that -- collectAll refers to the erased java (runtime) class, not the scala (compile-time) type.