src/entities/set.ts
Function persist
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async persist( sourceName?: string ): Promise<Set<TEntity>> {
const suffixes = map( this, entity => ( 'orphan' === entity.state ? 'Create' : 'Update' ) );
const _allEmit = partial( allEmit, this );
await _allEmit( 'Persist', 'before' );
await _allEmit( 'Validate', 'before' );
- Create a ticketCreate a ticket