Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: sjvans <[email protected]>
  • Loading branch information
mnkiefer and sjvans authored Oct 16, 2023
1 parent 39336e7 commit 924b3df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ npm add @cap-js/change-tracking
Next, we need to identify what should be change-tracked by annotating respective entities and elements in our model with the `@changelog` annotation. Following the [best practice of separation of concerns](https://cap.cloud.sap/docs/guides/domain-modeling#separation-of-concerns), we do so in a separate file _srv/change-tracking.cds_:

```cds
using { sap.capire.incidents as my } from './processor-service';
using {
sap.capire.incidents as my,
ProcessorService
} from './processor-service';
annotate my.Incidents with @title: 'Incidents';
annotate my.Conversations with @title: 'Conversations';
Expand Down

0 comments on commit 924b3df

Please sign in to comment.