Replies: 2 comments 1 reply
-
I also prefer the first way |
Beta Was this translation helpful? Give feedback.
1 reply
-
OK, just for ease of development lets take first approach. We will be able to change it later. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To parse users' files the system should know which schema should be used.
Storing Schemas in mongoDB can be implemented in different ways (or more):
User {id: 1, name: "name", email: "[email protected]"...}
Schema {id: 1, name: "name", version: "1", fields: []...}
User {id: 1, name: "name", email: "[email protected]", schemas: [1]...}
Schema {id: 1, name: "name", version: "1", fields: []...}
User {id: 1, name: "name", email: "[email protected]", schemas: [{id: 1, name: "name", version: "1", fields: []...}]...}
Now it implemented in the first way.
But let's find the best option.
Team, please share your thoughts.
Beta Was this translation helpful? Give feedback.
All reactions