Proposal: Comprehensive Excel Data Validation System #459
Replies: 6 comments 6 replies
-
It seems there are some similarities with my PR. I think their suggestion to integrate with javax.validation.Validator is a great idea. |
Beta Was this translation helpful? Give feedback.
-
@tianyufeng925 Perhaps we could collaborate? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @wangmiscoding! 👋 Thanks for reaching out! I just reviewed your PR #282 and I can see we're both working on validation capabilities for FastExcel - that's exciting! What I noticed from your approach:I see you've put a lot of thought into the validation framework integration. The javax.validation approach is definitely interesting and could provide a more standardized way to handle validations. My current approach:My PR focuses on a lightweight, FastExcel-native solution with:
Potential collaboration ideas:
Questions for you:
I'm definitely open to collaboration! I think having multiple contributors working on validation will make the feature much stronger. What do you think would be the best way to coordinate our efforts? 🤝 |
Beta Was this translation helpful? Give feedback.
-
Verification features are indeed what we need, and the community is willing to listen to more suggestions. FYI, We are not in a hurry to decide how to implement them. Anyone with ideas is welcome to share them ,and provide as many specific implementation ideas as possible. |
Beta Was this translation helpful? Give feedback.
-
We plan to start incorporating it into the roadmap after the 1.3.0 release.If possible, please organise and describe the specific implementation approach, which can also be done in stages. For example, how to support |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
Hi FastExcel community! 👋
I've just submitted a focused PR that adds basic required field validation utilities to FastExcel. While working on this feature, I realized there's a broader opportunity to enhance FastExcel's data validation capabilities in a systematic way.
Current Contribution
The recently submitted PR includes:
ExcelValidationUtils
for required field validation@ExcelRequired
annotationThis small but solid foundation got me thinking about the bigger picture...
Future Vision
I'd like to propose a comprehensive Excel data validation system that could include:
🎯 Dropdown Selection Validation
@ExcelSelect
annotation with predefined options🔢 Numeric Range Validation
@ExcelNumberValidation
with min/max values📅 Date Range Validation
@ExcelDateValidation
with format specification🔧 Additional Features
Benefits for FastExcel Community
Implementation Approach
I propose implementing these features incrementally:
Each phase would be a separate, focused PR that builds on the previous foundation.
Questions for the Community
Example Usage Vision
Beta Was this translation helpful? Give feedback.
All reactions