Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): pass entity as parameter in onCreate and onUpdate #564

Merged
merged 1 commit into from May 11, 2020

Conversation

B4nan
Copy link
Member

@B4nan B4nan commented May 11, 2020

@Property({ onCreate: (bar: FooBar) => '...return new value based on the entity state...' })
onCreateTest?: string;

@B4nan B4nan mentioned this pull request May 11, 2020
46 tasks
```typescript
@Property({ onCreate: (bar: FooBar) => '...return new value based on the entity state...' })
onCreateTest?: string;
```
@B4nan B4nan merged commit e4a64bc into dev May 11, 2020
@B4nan B4nan deleted the on-create-param branch May 11, 2020 16:59
B4nan added a commit that referenced this pull request May 21, 2020
```typescript
@Property({ onCreate: (bar: FooBar) => '...return new value based on the entity state...' })
onCreateTest?: string;
```
B4nan added a commit that referenced this pull request Jun 1, 2020
```typescript
@Property({ onCreate: (bar: FooBar) => '...return new value based on the entity state...' })
onCreateTest?: string;
```
B4nan added a commit that referenced this pull request Jun 5, 2020
```typescript
@Property({ onCreate: (bar: FooBar) => '...return new value based on the entity state...' })
onCreateTest?: string;
```
B4nan added a commit that referenced this pull request Jun 16, 2020
```typescript
@Property({ onCreate: (bar: FooBar) => '...return new value based on the entity state...' })
onCreateTest?: string;
```
B4nan added a commit that referenced this pull request Aug 2, 2020
```typescript
@Property({ onCreate: (bar: FooBar) => '...return new value based on the entity state...' })
onCreateTest?: string;
```
B4nan added a commit that referenced this pull request Aug 9, 2020
```typescript
@Property({ onCreate: (bar: FooBar) => '...return new value based on the entity state...' })
onCreateTest?: string;
```
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.

None yet

1 participant