Skip to content

Doc(eslint-plugin-fiori-tools): update DataField rule documentation with semantic link information#4506

Open
AlinaGovoruhina wants to merge 5 commits intomainfrom
fix/eslint-fiori-tools/update-doc-for-semantic-link
Open

Doc(eslint-plugin-fiori-tools): update DataField rule documentation with semantic link information#4506
AlinaGovoruhina wants to merge 5 commits intomainfrom
fix/eslint-fiori-tools/update-doc-for-semantic-link

Conversation

@AlinaGovoruhina
Copy link
Copy Markdown
Contributor

@AlinaGovoruhina AlinaGovoruhina commented Apr 1, 2026

Rule documentation update.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 1, 2026

🦋 Changeset detected

Latest commit: 88cd0d7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sap-ux/eslint-plugin-fiori-tools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@AlinaGovoruhina AlinaGovoruhina marked this pull request as ready for review April 1, 2026 12:38
@AlinaGovoruhina AlinaGovoruhina requested a review from a team as a code owner April 1, 2026 12:38
@AlinaGovoruhina
Copy link
Copy Markdown
Contributor Author

@lfindlaysap Thanks, all text issues fixed in the latest commit.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@igorsVoronins igorsVoronins left a comment

Choose a reason for hiding this comment

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

Rule documentation update looks good ✅

Copy link
Copy Markdown
Contributor

@marcovieth marcovieth left a comment

Choose a reason for hiding this comment

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

Looks good to me but please check the target...


```xml
<!-- Applied to the actual OData property, NOT inside DataField -->
<Annotation Term="Common.SemanticObject" String="Customer" Target="YourEntityType/CustomerId"/>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we set Target on Annotation?
Shouldn't we write the following?

<Annotations Target="YourEntityType/CustomerId">
    <Annotation Term="Common.SemanticObject" String="Customer"/>
</Annotations>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @hitesh-parmar can you help with Marco's question?

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.

4 participants