loopbackio / loopbackio/loopback-next
Read only properties
Offen
@achrinza arbeitet bereits daran.
Seit 20.9.2020.
feature
OpenAPI
Repository
- Vorherrschende Sprache
- TypeScript
- Sterne
- 5.1k
- Forks
- 1.1k
- Ø Merge
- 2 T. 21 Std.
- Gemergte PRs (30 T.)
- 27
Beschreibung
Are there any plans of implementing this feature?
I saw a request for LB3: https://github.com/strongloop/loopback/issues/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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.