[Patch] - Improve schema field validation order
[Patch] - Improve schema field validation order
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 <aditya.toshniwal@enterprisedb.com>
Дата:
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 MahajanEnterpriseDB
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"