-
Notifications
You must be signed in to change notification settings - Fork 1
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
refactor adapter/db/order includeBodyQuantityProductInProductDb function #9
base: dev
Are you sure you want to change the base?
Conversation
|
||
strategy: | ||
matrix: | ||
node-version: [14.x] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aqui já podemos usar a v16, que é LTS atual :)
Ou até a v18, se o GitHub Actions suportar (tem que ver se suporta)
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se não me engano, essa lib já está na v3, dá pra atualizar tbem :D
/* eslint-disable no-unused-vars */ | ||
namespace NodeJS { | ||
interface ProcessEnv { | ||
MONGO_URL: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Essa interface pode ficar aqui por enquanto, mas depois vamos fazer uma validação decente nas env vars pra ficar mais seguro xD
import { | ||
createCashback as createCashbackCore, | ||
CreateCashback, | ||
} from '../use-cases/create-cashback' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aqui seria bom importar usando @
import { | ||
CreateOrder, | ||
createOrder as createOrderCore, | ||
} from '../use-cases/create-order' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import com @
CR @fdaciuk