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…
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)