Обсуждение: [Patch] - Improve schema field validation order

Поиск
Список
Период
Сортировка

[Patch] - Improve schema field validation order

От
Yogesh Mahajan
Дата:
Hi,

Please find the attached patch which corrects validation flow of the parent & nested schema fields.
 
Thanks,
Yogesh Mahajan
EnterpriseDB
Вложения

Re: [Patch] - Improve schema field validation order

От
Aditya Toshniwal
Дата:
Hi Yogesh,

You have moved the validate call inside the loop, which will call the validate method once for all the fields.
So in a form for 50 fields if I type anything in a field then it will call the validate method 50 times.
I do not agree with this code change.


On Wed, Jun 15, 2022 at 2:43 PM Yogesh Mahajan <yogesh.mahajan@enterprisedb.com> wrote:
Hi,

Please find the attached patch which corrects validation flow of the parent & nested schema fields.
 
Thanks,
Yogesh Mahajan
EnterpriseDB


--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"