Skip to content

Commit

Permalink
Merge pull request #117 from dxfrontier/changes
Browse files Browse the repository at this point in the history
Changes
  • Loading branch information
dragolea authored Feb 6, 2025
2 parents 4304cb1 + a2e44b8 commit 9b75c30
Show file tree
Hide file tree
Showing 3 changed files with 350 additions and 388 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2033,13 +2033,10 @@ This decorator connects the class to the specified external service via SAP Clou
`Example`

```ts
import { Repository } from '@dxfrontier/cds-ts-dispatcher';
import { BaseRepository } from '@dxfrontier/cds-ts-repository';
import { ExternalService } from '@dxfrontier/cds-ts-repository';
import { BaseRepository, ExternalService } from '@dxfrontier/cds-ts-repository';

import { A_BusinessPartner } from '../../@cds-models/API_BUSINESS_PARTNER'; // <= This can be different, depending on your location of the @cds-models

@Repository()
@ExternalService('API_BUSINESS_PARTNER')
class BusinessPartnerRepository extends BaseRepository<A_BusinessPartner> {
constructor() {
Expand Down
Loading

0 comments on commit 9b75c30

Please sign in to comment.