gentics / mesh-incubator

Project which is home for planned enhancements for Gentics Mesh
3 stars 0 forks source link

Feature Request: Extending schemas and abstract schemas #244

Open floriansiepe opened 4 years ago

floriansiepe commented 4 years ago

Gentics Mesh Version, operating system, or hardware.

Operating System

JVM

Problem

Schemas in Gentics Mesh have a fixed set of properties. Some usecases could require extending existing schemas to share common properties between multiple schemas. Additionally, this could be useful when referencing to other nodes. Instead of a single schema a set of allowed schemas could be provided. Hence, a Java-like polymorphism would be desiderable.

Possible solution

Jotschi commented 4 years ago

Thanks for this feature request. This is actually something we have already looked into the past. Inheritance would be especially useful when mapping the schema in applications which make us of the content that is being supplied.

I'm going to move this issue into our incubator project which tracks long term enhancements.