You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is not possible to require that reference to some entity in a class has to support some specific schema versions. It makes sense to allow expressing this more harsh constraint, and it will be a requirement when wanting to introduce certain new types of schema upgrades.
A simple way could be to change Internal(ClassId) to Internal(ClassId, Option<VersionConstraint>) in PropertyType, where VersionConstraint can be something like
enumVersionConstraint{Exactly(u16),AtLeast(u16)}
The text was updated successfully, but these errors were encountered:
enumSchemaVersionConstraint{Gt(u16),Ge(u16),Eq(u16),Le(u16),Lt(u16),}// ... in PropertyType struct:// where the first constraint is for lower bound// and the second constraint is for upper bound:Internal(ClassId,Option<SchemaVersionConstraint>,Option<SchemaVersionConstraint>)
Currently, it is not possible to require that reference to some entity in a class has to support some specific schema versions. It makes sense to allow expressing this more harsh constraint, and it will be a requirement when wanting to introduce certain new types of schema upgrades.
A simple way could be to change
Internal(ClassId)
toInternal(ClassId, Option<VersionConstraint>)
inPropertyType
, whereVersionConstraint
can be something likeThe text was updated successfully, but these errors were encountered: