Skip to content

fix: throw exception when headClazz has no valid fields - #1036

Closed
bengbengbalabalabeng wants to merge 1 commit into
apache:mainfrom
bengbengbalabalabeng:fix-headClass-no-field-fail-fast
Closed

fix: throw exception when headClazz has no valid fields#1036
bengbengbalabalabeng wants to merge 1 commit into
apache:mainfrom
bengbengbalabalabeng:fix-headClass-no-field-fail-fast

Conversation

@bengbengbalabalabeng

Copy link
Copy Markdown
Contributor

Purpose of the pull request

What's changed?

Added validation in initColumnProperties to throw an exception when headClazz has no valid fields (fail-fast).

Checklist

  • I have read the Contributor Guide.
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

@bengbengbalabalabeng
bengbengbalabalabeng marked this pull request as draft August 24, 2026 09:58
@bengbengbalabalabeng

Copy link
Copy Markdown
Contributor Author

Given the scenario in https://github.com/apache/fesod/blob/main/fesod-sheet/src/test/java/org/apache/fesod/sheet/core/ClassUtilsFieldOverrideTest.java, fail-fast may not be appropriate.

Close for now.

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.

1 participant