Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(appendErrors): can take an array of errors #10125

Merged
merged 1 commit into from Mar 17, 2023

Conversation

jorisre
Copy link
Member

@jorisre jorisre commented Mar 17, 2023

As discussed, appendErrors is used by resolvers and need to pass en array of errors (Record<string, string[]>) when validateAllCriteria: true. This PR fix the type and add a test for the case

@codesandbox
Copy link

codesandbox bot commented Mar 17, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@github-actions
Copy link
Contributor

github-actions bot commented Mar 17, 2023

Size Change: 0 B

Total Size: 18.6 kB

ℹ️ View Unchanged
Filename Size
dist/index.cjs.js 9.25 kB
dist/index.umd.js 9.34 kB

compressed-size-action

@jorisre
Copy link
Member Author

jorisre commented Mar 17, 2023

@bluebill1049 Api Extrator failed, not sure what should I do 🤔

@jorisre jorisre force-pushed the fix/append-erros-validate-all-criteria branch from f64a8fd to c0c64f2 Compare March 17, 2023 09:52
@bluebill1049 bluebill1049 merged commit ab31da3 into master Mar 17, 2023
6 checks passed
@bluebill1049 bluebill1049 deleted the fix/append-erros-validate-all-criteria branch March 17, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants