Skip to content

Instantly share code, notes, and snippets.

@PCreations
Created July 17, 2024 08:23
Show Gist options
  • Save PCreations/a8adce811a065ecbedbd1c783172e559 to your computer and use it in GitHub Desktop.
Save PCreations/a8adce811a065ecbedbd1c783172e559 to your computer and use it in GitHub Desktop.
388f49f42450.diff
-10,7 +10,7 @@ import { BookRepository } from './book-repository.port';
providers: [
{
provide: BookRepository,
- useValue: InMemoryBookRepository,
+ useClass: InMemoryBookRepository,
},
AddBookUseCase,
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment