You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by yu...@apache.org on 2026/10/29 20:33:54 UTC

(polaris) branch main updated: docs: Prefer records for new simple value types (#5906)

This is an automated email from the ASF dual-hosted git repository.

flyrain pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new b58346f2cd docs: Prefer records for new simple value types (#5906)
b58346f2cd is described below

commit b58346f2cdd0201ea9dfe7b90ce623d65e5f81f0
Author: Yufei Gu <yu...@apache.org>
AuthorDate: Thu Oct 29 13:33:48 2026 -0700

    docs: Prefer records for new simple value types (#5906)
---
 AGENTS.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/AGENTS.md b/AGENTS.md
index ae06fa4ebc..c37890d4e7 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -130,6 +130,9 @@ Module names map to directory paths via `gradle/projects.main.properties`. See
 **Formatter:** Google Java Format via Spotless. `./gradlew format` applies it.
 Do not manually adjust the formatter's output.
 
+**Value types:** Prefer Java records for new simple value types instead of Immutables.
+[DISCIPLINE]
+
 **Imports:** Use import statements. Never inline fully-qualified class names.
 [DISCIPLINE]