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
Are you guys accepting pull requests? I want to add schema alias option feature
var FooSchema = mongoose.schema({
bar: { type: String, alias: 'baz' }
});
Basically, the only thing I do is read this option out and create virtual properties. There was some guy at where I work who wrote a fork that does this. But the fork is really obsolete now, merging it is quite troublesome, too many conflicts.
The fork is creating troubles for us as things upgrade. So we plan to reuse his logic and merge it to official mongoose, so we can both cooperate with our current code while using the latest mongoose.
Do you have any suggestion to where I should start? Which file should I put the changes in?
The text was updated successfully, but these errors were encountered:
Are you guys accepting pull requests? I want to add schema alias option feature
Basically, the only thing I do is read this option out and create virtual properties. There was some guy at where I work who wrote a fork that does this. But the fork is really obsolete now, merging it is quite troublesome, too many conflicts.
The fork is creating troubles for us as things upgrade. So we plan to reuse his logic and merge it to official mongoose, so we can both cooperate with our current code while using the latest mongoose.
Do you have any suggestion to where I should start? Which file should I put the changes in?
The text was updated successfully, but these errors were encountered: