felixkiss / uniquewith-validator

Custom Laravel Validator for combined unique indexes
MIT License
389 stars 129 forks source link

Ignore is not working in array validation #122

Open pyaehein opened 3 years ago

pyaehein commented 3 years ago

ignore:positions.*.id

It doesn't replace with real id and it used 'positions.*.id' as string in query.

Please help me to fix it.

felixkiss commented 3 years ago

ignore:<value> is used with an actual value. I'm not sure what you are trying to do here. Can you give more (code) context?

Or close issue if not relevant anymore 😅