You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipopotamasu
changed the title
Should skip array schema when from prop of test context is created?
Should array schema be skipped when from prop of test context is created?
Aug 1, 2020
I'm really grateful
from
prop was added by #556.However, I'm not sure why array schema is skipped although PR says
from
enable to access parent schema.https://github.com/jquense/yup/pull/556/files#diff-a39772825a6753e21b910a44bde28402R521-R522
In this test case, I assume
this.from[1]
should be array schema, not first object schema.If we should deal with this issue, I would open this PR (currently draft status).
#995
The text was updated successfully, but these errors were encountered: