Skip to content

Conversation

@LeCarbonator
Copy link
Contributor

@LeCarbonator LeCarbonator commented Apr 17, 2025

This PR aims to expand the submission handling page with the following:

  • Rewrite Submission meta to be clearer

  • Add nested fields in form -> field validation example

  • Add Standard Schema input vs. output scenario

  • Address parity problems between frameworks in validation.md and submission-handling.md

    • Vue
    • Solid
    • React
    • Angular

    [ ] Lit There are docs files that have higher priority than these ones for Lit, as the current documentation is lacking.

Due to point 3, this is marked as draft. Let me know if there are improvements to be added into the uploaded react files.
Since I am only familiar with React, I will test run the code snippets of other frameworks, so they might take a bit of a while.

This PR closes #1430 when merged.

@LeCarbonator LeCarbonator force-pushed the docs-submission-handling branch from b5c409d to 8fd0b76 Compare April 17, 2025 21:45
@LeCarbonator LeCarbonator marked this pull request as ready for review April 18, 2025 09:01
@LeCarbonator
Copy link
Contributor Author

Angular is quite something. I'm attempting to work through it, but if someone with more experience in it could port the two files I'd appreciate it

@LeCarbonator LeCarbonator changed the title docs: Expand submission handling documentation docs: Expand submission handling and validation documentation Apr 18, 2025
@harry-whorlow
Copy link
Contributor

harry-whorlow commented Apr 19, 2025

I'm not too confident reviewing angular, since I've only had a brief experience with it. Perhaps @Pascalmh can confirm it's good if he's working with it.

I'll message some of the other maintainers to see if they're able to have a look. But, great job on adding to the docs!

@Pascalmh
Copy link
Contributor

@harry-whorlow @LeCarbonator I used to work with angular until about a year ago - it looks good and seems to follow the Angular Style Guide - but angular evolves quickly - so someone that is actively working with Angular should take another look if possible.

Copy link
Member

@Balastrong Balastrong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very well done :D

@harry-whorlow harry-whorlow merged commit 9f68452 into TanStack:main Apr 27, 2025
@harry-whorlow
Copy link
Contributor

harry-whorlow commented Apr 27, 2025

Thanks for the submission @LeCarbonator, and @Pascalmh
LGTM🚀

@LeCarbonator LeCarbonator deleted the docs-submission-handling branch April 27, 2025 11: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.

Validation for nested fields only works with dot-notation keys (e.g. 'person.firstName') - unclear in docs

4 participants