Re: [Patch] - Improve schema field validation order

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: [Patch] - Improve schema field validation order
Дата
Msg-id CAM9w-_n=Dy+fDs8gQWifxJOek5JMb4GXFDUy9Hzc5zei77DJqA@mail.gmail.com
обсуждение исходный текст
Ответ на [Patch] - Improve schema field validation order  (Yogesh Mahajan <yogesh.mahajan@enterprisedb.com>)
Список pgadmin-hackers
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"

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Yogesh Mahajan
Дата:
Сообщение: [Patch] - Improve schema field validation order
Следующее
От: Nikhil Mohite
Дата:
Сообщение: Re: [pgAdmin][RM-6132]: [React] Port debugger to React