Skip to content

Clarify frozen-view-builder linter rule documentation - #209

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/xml-view-linter-warning-l5fvcl
Sep 2, 2026
Merged

Clarify frozen-view-builder linter rule documentation#209
oblomov-dev merged 1 commit into
mainfrom
claude/xml-view-linter-warning-l5fvcl

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Updated the documentation for the frozen-view-builder linter rule to better explain its purpose and the implications of using the older API.

Changes

  • Revised the rule description to clarify that using z2ui5_cl_xml_view is acceptable and maintained, but prevents other linter rules from running
  • Emphasized that switching to z2ui5_cl_ui5_view_builder is necessary to enable the full suite of linter checks
  • Removed reference to language model behavior as the primary concern, focusing instead on the technical gating mechanism

Details

The updated description more accurately reflects the rule's role in the linter gate system: it's not about discouraging use of the older API, but rather documenting that its use bypasses downstream validation rules. This helps users understand the trade-off when choosing between the two view builder approaches.

https://claude.ai/code/session_011qkUxU6fypKKwy1WE8kmDA

The rule table described the old builder as something that "matters more
than it looks". The linter no longer says it that way: `z2ui5_cl_xml_view`
keeps working and is headed for an addon of its own, so the row now says
what the finding is really about - none of the rules above it can read that
API, so none of them ran - and recommends the switch for what it buys.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011qkUxU6fypKKwy1WE8kmDA
Copilot AI lite review requested due to automatic review settings September 2, 2026 13:25
@oblomov-dev
oblomov-dev merged commit dd606a7 into main Sep 2, 2026
2 checks passed
@oblomov-dev
oblomov-dev deleted the claude/xml-view-linter-warning-l5fvcl branch September 2, 2026 13:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The updated documentation line includes speculative future-facing wording and a slightly ambiguous claim that should be made strictly factual and clearer.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the frozen-view-builder rule description in the linter documentation to better explain the technical trade-off of continuing to use z2ui5_cl_xml_view versus switching to z2ui5_cl_ui5_view_builder.

Changes:

  • Reworded the frozen-view-builder row to emphasize that z2ui5_cl_xml_view still works, but blocks downstream rule evaluation.
  • Shifted the rationale away from language-model output and toward the linter’s parsing/gating mechanics.
File summaries
File Description
docs/advanced/linter.md Refines the explanation of what frozen-view-builder flags and why it affects the rest of the ruleset.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/advanced/linter.md
| --- | --- |
| `unknown-binding-path` | a hand-written `{/TYPO}` the derived model has no path for — the field just stays empty. Inside a bound aggregation a relative `{TYPO}` is resolved against the **row**, so a misspelled column is caught too |
| `frozen-view-builder` | the class still builds its view with `z2ui5_cl_xml_view`, the frozen predecessor. It matters more than it looks: that API is what nearly all public abap2UI5 material shows, and therefore what a language model writes when asked for an app |
| `frozen-view-builder` | the class builds its view with `z2ui5_cl_xml_view`, the predecessor. That is fine to keep — it works, and is headed for an addon of its own — but no rule above can read it, so none of them ran: switching to `z2ui5_cl_ui5_view_builder` is what buys the whole gate |
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.

3 participants