Oleg Galenia

Results 7 comments of Oleg Galenia

Hi. Add to your config/app.php: 'Input' => Illuminate\Support\Facades\Input::class, but I guess that problem is a bit outdated.. :)

@alexhsieh-handy sorry, just saw your PR that fixes this issue ))

Hi guys! I just run into a similar issue when I can't find records in DB: I use filter paginate parameter like so: _filter.model: 00000240520848602151_ Note that prepended zeros are...

@Helveg thanks for your response, but again your proposal - it is kind of global filtering in configuration. We can achieve this using `withDeleted: true` or `withDeleted: false` in configuration....

@ppetzold thank you. For sure it will work, but I thought that it would be a nice feature to have it in a predefined set of parameters because I think...

Ok. I made such a solution without using any custom parameters: ` findAll(query: PaginateQuery): Promise { FACILITY_PAGINATE_CONFIG.withDeleted = query?.filter?.deletedAt === '$not:$null'; return paginate(query, this.r, FACILITY_PAGINATE_CONFIG); }`