-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I looked through the source of store-sequelize and the sqlHandler had the code I was looking for to support a uidType of string:
switch (relation._settings._uidType) {
case 'uuid':
modelProperties.id = {
type: DataTypes.UUID,
allowNull: false
}
break
case 'autoincrement':
modelProperties.id = {
type: DataTypes.INTEGER,
allowNull: false,
get: function () {
return this.getDataValue('id').toString()
}
}
break
case 'string': default:
modelProperties.id = {
type: DataTypes.STRING,
allowNull: false
}
break
}But to my dismay, the joi.one isn't allowing 'string' to pass through and insisting the type must be UUID or auto-increment.
RDF Data is uniquely identified by IRI's, so I need longer than the 38 characters allowed by default.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels