loopbackio / loopbackio/loopback-next

Read only properties

Aperta
#2,454 8 commenti 2 reazioni 1 assegnatario Vedi su GitHub

@achrinza ci sta già lavorando.

Dal 20/9/2020.

feature OpenAPI Repository
Lingua principale
TypeScript
Stelle
5.1k
Fork
1.1k
Merge medio
2g 21h
PR unite (30g)
27

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.