I’m planning to create a service where the user can specify their own datatypes. Therefore, I cannot assume the type that one user selects will be appropriate for another user.
User 1’s Schema
schema {
set {
type: string
}
}
User 2’s Schema
schema {
set {
type: uid
}
}
Note: they won’t actually write the schema command themselves, but it gives the idea.
The way I plan to get around this is by adding a prefix to each of the users submitted predicates. So instead I would add:
schema {
set {
user1.type: string
}
}
This is fine, but I realize that I will be creating a lot of predicates! Maybe 100 or so per user, and in the end, there could be 1000’s of users and millions of predicates.
Is that okay?