Skip to content

Read only properties #2454

@yiev

Description

@yiev

Are there any plans of implementing this feature?

I saw a request for LB3: strongloop/loopback#531
But there seems to be no information about this feature for LB4.

Also if anyone knows any workaround for this feature, please share it. 😃

I tried to delete the property that I want to be read only in my PATCH function with
delete project.name
but this lead to an error. My datasource is a MySQL database and obviously the SQL statement is created wrong, if you just delete the property.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions