anchovycation / metronom

Easy to use Redis ORM based on node-redis with TypeScript support
https://anchovycation.github.io/metronom/
GNU General Public License v3.0
7 stars 3 forks source link

Nested schema should be added for values of object type in schema #60

Open saracalihan opened 1 year ago

saracalihan commented 1 year ago
const schema = {
  info: {
    type: Types.Object,
    defalut: {
      name:{
        type: Types.Number,
      },
      // ...
    }
  }
};