Skip to content

Implement "safeFields" option #7

Description

@bajtos

See strongloop/loopback#1650 (comment) for more details.

// Array of fields (custom Error properties) that are safe to include// in response messages (both 4xx and 5xx).// "details" property is always included in 4xx responses (not in 5xx)safeFields: ['errorCode'],

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions