File tree Expand file tree Collapse file tree
Samples/Tutorials/Projections Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Copyright (c) Dolittle. All rights reserved.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3- // Sample code for the tutorial at https://dolittle.io/tutorials/getting-started /projections/
3+ // Sample code for the tutorial at https://dolittle.io/docs/tutorials /projections/
44
55export class Chef {
66 constructor (
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export class DishCounter {
1010 numberOfTimesPrepared : number = 0 ;
1111
1212 @on ( DishPrepared , _ => _ . keyFromProperty ( 'Dish' ) )
13- dishPrepared ( event : DishPrepared , projectionContext : ProjectionContext ) {
13+ on ( event : DishPrepared , projectionContext : ProjectionContext ) {
1414 this . numberOfTimesPrepared ++ ;
1515 }
16- }
16+ }
Original file line number Diff line number Diff line change 11// Copyright (c) Dolittle. All rights reserved.
22// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3- // Sample code for the tutorial at https://dolittle.io/tutorials/projections/typescript /
3+ // Sample code for the tutorial at https://dolittle.io/docs/ tutorials/projections/
44
55import { Client } from '@dolittle/sdk' ;
66import { TenantId } from '@dolittle/sdk.execution' ;
You can’t perform that action at this time.
0 commit comments