Skip to content

Docs: Fix invalid StructType.of call in Java API example - #17408

Open
uros-b wants to merge 1 commit into
apache:mainfrom
uros-b:docs-fix-api-struct-type-example
Open

Docs: Fix invalid StructType.of call in Java API example#17408
uros-b wants to merge 1 commit into
apache:mainfrom
uros-b:docs-fix-api-struct-type-example

Conversation

@uros-b

@uros-b uros-b commented Jul 29, 2026

Copy link
Copy Markdown
Member

The type-creation example in the Java API docs called Struct.of(...), but no such type exists; the factory method is StructType.of(...). This fixes the example to use the actual API, matching the sibling MapType/ListType examples. Docs-only.

@github-actions github-actions Bot added the docs label Jul 29, 2026

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

CI looks good, please review ^^

@uros-b
uros-b force-pushed the docs-fix-api-struct-type-example branch from e979629 to 965dbf6 Compare July 29, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants