Skip to content

@data-client/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Oct 10:27
· 126 commits to master since this release
5a5c95f

Patch Changes

  • 4580e62 Thanks @ntucker! - Update docstring for EntityMixin

  • #3243 43a955c Thanks @ntucker! - schema.Entity -> EntityMixin

    import { EntityMixin } from '@data-client/rest';
    
    export class Article {
      id = '';
      title = '';
      content = '';
      tags: string[] = [];
    }
    
    export class ArticleEntity extends EntityMixin(Article) {}

    We keep schema.Entity for legacy, and add schema.EntityMixin and EntityMixin as direct export

  • Updated dependencies [4580e62, 1f7b191, 43a955c]: