E-Mails, Soziale Netzwerke, Cloud-Dienste: Im Netz bleiben viele Daten zurück, wenn jemand stirbt. Doch geregelt haben die wenigsten ihren digitalen Nachlass. Für die Erben beginnt oft eine Suche nach Konten, Zugangsdaten, Verträgen. Der BGH hat ihre Rechte gestärkt. Und es gibt Möglichkeiten vorzubeugen.
In OpenAPI version 3, you do this with the allOf keyword:
components:
schemas:
BasicErrorModel:
type: object
required:
- message
- code
properties:
message:
type: string
code:
type: integer
minimum: 100
maximum: 600
ExtendedErrorModel:
allOf: # Combines the BasicErrorModel and the inline model
- $ref: '#/components/schemas/BasicErrorModel'
- type: object
required:
- rootCause
properties:
rootCause:
type: string
In the example above, the ExtendedErrorModel schema includes its own properties and properties inherited from BasicErrorModel
Prototypal inheritance is arguably the least understood aspect of JavaScript. Well the good news is that if you understand how CSS works, you can also understand how JavaScript prototypes work.
Today, we are are going to talk about composition over inheritance. Inheritance is when you design your types after what they are, while composition is when you design your types after what they…
In order to claim fluency in JavaScript, it’s important to understand how JavaScript’s native inheritance capabilities work. This is an often neglected area of JavaScript writing and learning, but…
Also, WAT? is the sound I make when I talk to many seasoned JavaScript developers who have neglected to learn the basic mechanics of prototypal inheritance: one of the most important innovations in…
I've read a lot of posts in the past on this subject; this includes some by massively influential developers such as John Resig. I don't think the popular
I recently wrote an article called “Master the JavaScript Interview: What’s the Difference Between Class and Prototypal Inheritance?” Afterwards, I got several questions asking for more information…
E. Tempero, J. Noble, and H. Melton. ECOOP 2008 European Conf. on Object-Oriented Programming
, volume 5142 of Lecture Notes in Computer Science, page 667--691. Springer Berlin / Heidelberg, (2008)
H. Frank. ADBIS (Short Papers)
, page 148--154. Institute of Informatics, Faculty of Electrical Engineering and Computer Science, Smetanova 17, IS-2000 Maribor, Slovenia, (1999)
H. Frank. ADBIS (Short Papers)
, page 148--154. Institute of Informatics, Faculty of Electrical Engineering and Computer Science, Smetanova 17, IS-2000 Maribor, Slovenia, (1999)