ToolJet/plugins/packages/common
Kushagra Srivastava 43ac4f251f
add metadata to QueryError and populating metadata in inspector on error (#12501)
* add metadata to QueryError

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* add TODO, minor changes

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* minor changes

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* metadata gets populated on query error/failure

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* add headers to metadata.response

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* redact headers

Signed-off-by: thesynthax <kushagra1403@gmail.com>

---------

Signed-off-by: thesynthax <kushagra1403@gmail.com>
2025-04-28 10:08:34 +05:30
..
__tests__ chore/plugins: fixes lint warning and errors (#2502) 2022-03-14 15:05:02 +05:30
lib add metadata to QueryError and populating metadata in inspector on error (#12501) 2025-04-28 10:08:34 +05:30
.gitignore Move plugins to root (#1728) 2022-01-17 12:38:17 +05:30
package-lock.json Regenerated some plugin locks 2024-08-05 12:26:01 +05:30
package.json [Improvement] Auth flow improvements for RestAPI, OpenAPI & GraphQL (#5324) 2023-07-21 15:38:56 +05:30
README.md Move plugins to root (#1728) 2022-01-17 12:38:17 +05:30
tsconfig.json Move plugins to root (#1728) 2022-01-17 12:38:17 +05:30

common

TODO: description

Usage

const common = require('common');

// TODO: DEMONSTRATE API