Commit 6a82b7f
authored
feat: native support for standard schema libraries (#1020)
* feat: naive implementation as adapter
* test: naive test with valibot
* feat: add async validation support
* feat: define standard schema adapter in form-core
* feat: support arktype's function-based structure and path
* ci: apply automated fixes and generate docs
* feat: validate form with standard schema without adapter
* feat: validate field with standard schema without adapter
* test: add todo tests for zod
* ci: apply automated fixes and generate docs
* fix: spread field errors from form validator
* docs: add example with multiple schemas
* chore: bump valibot and uncomment failing tests
* docs: mention standard schema
* feat: accept functional sync validator even with an adapter set
* chore: bump versions
* docs: gen
* ci: apply automated fixes and generate docs
* feat: integrate zod
* docs: update with zod and simplify examples
* ci: apply automated fixes and generate docs
* docs: mention latest version for schema libraries1 parent b437abe commit 6a82b7f
File tree
52 files changed
+1663
-520
lines changed- docs
- framework
- angular/guides
- react/guides
- solid/guides
- vue/guides
- reference
- classes
- functions
- interfaces
- type-aliases
- examples
- angular
- valibot
- zod
- react
- standard-schema
- public
- src
- valibot
- zod
- solid
- valibot
- zod
- vue
- valibot
- zod
- packages
- form-core
- src
- tests
- valibot-form-adapter
- zod-form-adapter
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+1663
-520
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
445 | 449 | | |
446 | 450 | | |
447 | 451 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
398 | 395 | | |
399 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
400 | 399 | | |
401 | 400 | | |
402 | | - | |
403 | 401 | | |
404 | 402 | | |
405 | 403 | | |
| |||
420 | 418 | | |
421 | 419 | | |
422 | 420 | | |
423 | | - | |
424 | | - | |
425 | | - | |
| 421 | + | |
426 | 422 | | |
427 | | - | |
| 423 | + | |
428 | 424 | | |
429 | 425 | | |
430 | 426 | | |
431 | 427 | | |
432 | 428 | | |
433 | 429 | | |
434 | 430 | | |
435 | | - | |
| 431 | + | |
| 432 | + | |
436 | 433 | | |
437 | 434 | | |
438 | 435 | | |
| |||
469 | 466 | | |
470 | 467 | | |
471 | 468 | | |
472 | | - | |
| 469 | + | |
473 | 470 | | |
474 | | - | |
| 471 | + | |
475 | 472 | | |
476 | | - | |
477 | | - | |
478 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
479 | 476 | | |
480 | | - | |
| 477 | + | |
481 | 478 | | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
491 | 482 | | |
492 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
493 | 506 | | |
494 | | - | |
| 507 | + | |
495 | 508 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
| 509 | + | |
| 510 | + | |
500 | 511 | | |
501 | 512 | | |
502 | | - | |
503 | 513 | | |
504 | 514 | | |
505 | 515 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
429 | 426 | | |
430 | | - | |
| 427 | + | |
431 | 428 | | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
| 429 | + | |
437 | 430 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
442 | 434 | | |
443 | 435 | | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
454 | 456 | | |
455 | 457 | | |
456 | | - | |
| 458 | + | |
457 | 459 | | |
458 | 460 | | |
459 | 461 | | |
| |||
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
480 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
481 | 485 | | |
482 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
483 | 491 | | |
484 | 492 | | |
485 | | - | |
486 | | - | |
| 493 | + | |
| 494 | + | |
487 | 495 | | |
488 | 496 | | |
489 | 497 | | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | 498 | | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
499 | 502 | | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | 503 | | |
508 | 504 | | |
509 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
518 | 516 | | |
519 | 517 | | |
520 | 518 | | |
| |||
0 commit comments