diegohaz/querymen

Page must be lower than or equal to 30

chemitaxis opened this issue · 2 comments

Hi, can you please tell me why is this happen? Do I need any max size per page or validation? Thanks!

Ok, I have found that you have this in querymen-schema.js, Can I just overwrite? Thanks!

page: {
        type: Number,
        default: 1,
        max: 30,
        min: 1,
        bindTo: 'cursor',
        parse: (value, path, operator, param) => {
          return {skip: this.param('limit').value() * (value - 1)}
        }
      }

Ok, solved!