Skip to content

WARNING: relational database doesn't support {strict: false} mode. {strict: true} mode will be set for model instead. #4565

Description

@UsmanJavedAttari

Steps to reproduce

Use {strict: false} in @model(settings : {}) property.

Current Behavior

Getting

WARNING: relational database doesn't support {strict: false} mode. {strict: true} mode will be set for model User instead.

Expected Behavior

The warning should not be here. As I updated the loopback cli and with that I updated loopback dependencies, after updating everything, I am getting this warning. It working fine in previous version. Using MySQL. Also getting these warnings if I get request on any URL.

Additional information

+-- @loopback/authentication@3.3.1
+-- @loopback/boot@1.7.2
+-- @loopback/context@2.0.0
+-- @loopback/core@1.12.2
+-- @loopback/openapi-v3@1.12.0
+-- @loopback/repository@1.18.0
+-- @loopback/rest@1.26.0
+-- @loopback/rest-explorer@1.4.8
+-- @loopback/service-proxy@1.3.15
+-- jsonwebtoken@8.5.1
+-- lodash@4.17.15
+-- loopback-connector-mysql@5.4.2

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions