Skip to content

feat: migrate finance#131

Merged
Shinigami92 merged 5 commits intomigrate-to-typescriptfrom
migrate-finance
Jan 14, 2022
Merged

feat: migrate finance#131
Shinigami92 merged 5 commits intomigrate-to-typescriptfrom
migrate-finance

Conversation

@Shinigami92
Copy link
Copy Markdown
Member

No description provided.

@Shinigami92 Shinigami92 added the p: 1-normal Nothing urgent label Jan 13, 2022
@Shinigami92 Shinigami92 self-assigned this Jan 13, 2022
@Shinigami92 Shinigami92 mentioned this pull request Jan 13, 2022
27 tasks
Comment thread src/finance.ts
* @param min
* @param max
* @param dec
* @param symbol
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add autoFormat

Comment thread src/finance.ts
*/
currencyCode() {
return this.faker.random.objectElement(
this.faker.definitions.finance.currency
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can put undefined into it, to fix this error or change the 2 param in objectElement to be optional

Copy link
Copy Markdown
Member

@prisis prisis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments

Comment thread src/finance.ts Outdated

while (!symbol) {
symbol = this.faker.random.objectElement(
this.faker.definitions.finance.currency
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as the last comment on this function

@prisis
Copy link
Copy Markdown
Member

prisis commented Jan 13, 2022

Maybe we can reuse https://github.com/phuoc-ng/fake-numbers to have correct ibans generated, saw some issues in the old faker

@Shinigami92 Shinigami92 marked this pull request as ready for review January 14, 2022 17:19
@Shinigami92 Shinigami92 merged commit 7a81a14 into migrate-to-typescript Jan 14, 2022
@Shinigami92 Shinigami92 deleted the migrate-finance branch January 14, 2022 17:19
Shinigami92 added a commit that referenced this pull request Jan 14, 2022
Shinigami92 added a commit that referenced this pull request Jan 14, 2022
damienwebdev pushed a commit that referenced this pull request Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p: 1-normal Nothing urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants