Markos Girgis

Results 9 issues of Markos Girgis

Hello, I've been reading your Upvote Post useCase and i came across domain Services. My question is since they belong to the domain Layer, and Use Cases use their concrete...

I should get an error that the variable amount is not defined but i don't ```bl // Structs and DTOs... DomainService ReconciliationDomainService(reconciliationService: ReconciliationServicePort) { public reconcile(ledgerFinancialDocument: FinancialDocumentEntity, externalFinancialDocument: FinancialDocumentEntity): (OK(ReconciliationReportEntity),Errors(...

bug
semantic

Set in tsconfig.json and tsconfig.base.json ```json "strictNullChecks": true, ``` Then we should also aim for `strict: true` It's bad practice to have it disabled and it can result in many...

enhancement

BL Example ``` DomainError AccountIsBlockedError(accountId:string, accountStatus: AccountStatusVO) { message: `Account ${accountId} is ${accountStatus.status}. Please contact support.`, errorId: 'DRIVER_ACCOUNT_IS_BLOCKED' } ``` TS Output ```ts import { Domain } from '@bitloops/bl-boilerplate-core'; import...

bug

The transpiled integration event uses `[key:string]: any` and as a result is not type safe. We should probably use a generic type (dynamic for each version) to make the payload...

enhancement

Extend service port documentation with an example. One example based on the Todo could be: ```bl Struct SendEmailRequest { string origin; string destination; string content; } ServicePort EmailServicePort { send(email:...

documentation

Apollo v3 has become deprecated, with end-of-life scheduled for 22 October 2023. https://www.apollographql.com/docs/apollo-server/previous-versions/ Should update the dependency in boilerplate-graphql package to v4, and check that the generated code works(server, resolvers...

dependencies
priority

### Subject of the issue Change if checks inside useCase's execute method body. ### Expected behaviour ### Actual behaviour ![image](https://user-images.githubusercontent.com/63424729/199219027-f89fbb1f-5940-4df3-9353-cc1e133b59f7.png) ### Suggested solutions? Expression should be reversed, and then-else bodies...

enhancement