Skip to content

Remove redundant switching between Name and ID #125

@ericmtsai

Description

@ericmtsai

The analyzer code uses text/labels selected by the user as arguments to various functions. In some cases, we change these to IDs and then change them back to text for use in various queries, filtering, etc.

Some of the changing in one direction is ok - for example, changing once from a text label to an ID is fine and it could potentially be another layer of protection against SQL injection. However, there are some instances of this that is superfluous, where we change to an ID, pass the ID to a function, and in that second function, change that ID back to the text label for usage. Fix these superfluous instances.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions