This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk / ValidationIssue

ValidationIssue ​

Divergence between the gateway response and the SDK schema.

Properties ​

issues ​

issues: readonly object[]

Problems found, with the field path.


raw ​

raw: unknown

Body (already without the envelope) received from the gateway. Values of sensitive keys, at any level and case-insensitively, are replaced with '[REDACTED]': credentials (keys that contain token, password, secret or backup_codes), personal data (keys that contain cpf, email, phone, name or birth_date/birthDate), keys that are exactly ip, device, user_agent or userAgent, and URLs (keys ending in _url or Url, which may carry tokens), so that the issue can go to Sentry/logs without leaking credentials or personal data (LGPD). Computed on demand (a getter): it is only masked if something actually reads this property — the SDK's default warning (without onValidationIssue) never reads raw, so it never pays that cost.


route ​

route: string

Route that responded, e.g. GET /config.