SOQL queries through tooling api

Issue #1715 duplicate
Nunzio Capasso created an issue

Hello Scott,

it’s been a while since my last post and i hope u are doing well.

It would be nice to have the ability to do SOQL queries through tooling api .

As u know that gives us access to objects that otherwise are unreachable.



Comments (3)

  1. Scott Wells repo owner

    This is actually something I've had on my list for a long time. Allowing queries through the Tooling API itself isn't very difficult. Allowing queries where the Tooling API SObjects have proper code completion, validation, etc., is a more difficult proposition. As you mentioned, there are some SObjects that only exist in the Tooling API, and there are some that exist in both the Tooling and Metadata APIs but are slightly different. I'd need to augment the OST to include both Metadata and Tooling API SObjects, and the latter would only be used when you're authoring a query against that specific API. Because of how type resolution works against the OST, that has far-reaching implications. That's why this one keeps getting kicked down the road. I'll put it back on the docket, though. Keep an eye on #373 for future progress.

  2. Log in to comment