Skip to content

Conversation

@taefi
Copy link
Contributor

@taefi taefi commented Dec 12, 2025

Summary

  • Adds comprehensive documentation for Kotlin's native nullability support in Hilla 24.8+
  • Updates FAQ with reference to the new Kotlin nullability documentation

Fixes #4421

Changes

  • articles/hilla/lit/reference/type-nullability.adoc: New section documenting Kotlin's native type system support, including:
    • Language-based nullability detection using Kotlin's ? operator
    • Maven configuration requirements (-java-parameters compiler flag)
    • TypeScript type generation examples
    • Nullability priority rules for mixed Kotlin/Java codebases
  • articles/hilla/lit/start/faq.adoc: Added reference link to the new Kotlin nullability documentation

Test plan

  • Review documentation for technical accuracy
  • Verify Maven configuration examples are correct
  • Check that code examples compile and generate expected TypeScript types
  • Ensure cross-references between FAQ and type-nullability pages work correctly
  • Validate that the documentation builds without errors

🤖 Generated with Claude Code

Add a link from the Kotlin/Scala/Groovy FAQ entry to the Kotlin Native
Nullability section in the Type Nullability reference documentation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@CLAassistant
Copy link

CLAassistant commented Dec 12, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ taefi
❌ Code Assistant


Code Assistant seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link

github-actions bot commented Dec 12, 2025

AI Language Review

  • FAQ.adoc: The update adds a reference to "Kotlin's Native Nullability Support" in the question "Does Kotlin, Scala, or Groovy Work with Hilla?" Ensure that the link placeholder is correctly resolved to avoid rendering issues. Ensure consistency between different parts of the document when adding new references.

  • Type Nullability.adoc: The added section on "Kotlin Native Nullability Support" includes detailed information on handling nullability in Kotlin. Check that the added explanations and examples are clear, and that the Markdown syntax is correctly rendering notes and code blocks. Also, make sure that the references to Maven and Gradle configurations are correctly formatted for inclusion in a technical document. Ensure that any placeholders used in links or text are correctly filled to prevent rendering issues.

Adds comprehensive documentation for Kotlin's native nullability support in Hilla 24.8+, including:
- Language-based nullability detection
- Maven configuration requirements
- TypeScript type generation examples
- Nullability priority rules

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

Kotlin Native Nullability support in Hilla should document settings for Kotlin compiler in Maven

3 participants