Skip to content
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(unique): move to helpers #1298

Merged
merged 6 commits into from
Aug 29, 2022
Merged

Conversation

xDivisionByZerox
Copy link
Member

This PR moves the unique() method from the Unique module into the Helpers module. There is no reason for it being a standalone module when it is clearly a utility method.

This was discussed in #805 (direct link).

@xDivisionByZerox xDivisionByZerox added p: 1-normal Nothing urgent c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: helpers Something is referring to the helpers module deprecation A deprecation was made in the PR labels Aug 24, 2022
@xDivisionByZerox xDivisionByZerox added this to the v7 - Current Major milestone Aug 24, 2022
@xDivisionByZerox xDivisionByZerox requested a review from a team August 24, 2022 20:13
@xDivisionByZerox xDivisionByZerox self-assigned this Aug 24, 2022
@xDivisionByZerox xDivisionByZerox requested a review from a team as a code owner August 24, 2022 20:13
@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #1298 (ceca0a0) into main (c2108fa) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1298   +/-   ##
=======================================
  Coverage   99.62%   99.62%           
=======================================
  Files        2160     2160           
  Lines      240491   240541   +50     
  Branches     1009     1010    +1     
=======================================
+ Hits       239584   239634   +50     
  Misses        886      886           
  Partials       21       21           
Impacted Files Coverage Δ
src/faker.ts 100.00% <100.00%> (ø)
src/modules/helpers/index.ts 98.43% <100.00%> (+0.11%) ⬆️
src/modules/helpers/unique.ts 94.93% <100.00%> (ø)
src/modules/unique/index.ts 100.00% <100.00%> (ø)

src/modules/unique/index.ts Outdated Show resolved Hide resolved
@Shinigami92 Shinigami92 enabled auto-merge (squash) August 29, 2022 11:01
@Shinigami92 Shinigami92 enabled auto-merge (squash) August 29, 2022 11:03
@Shinigami92 Shinigami92 merged commit 7f8b871 into main Aug 29, 2022
@ST-DDT ST-DDT deleted the refactor/unique/move-to-helpers branch August 29, 2022 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs deprecation A deprecation was made in the PR m: helpers Something is referring to the helpers module p: 1-normal Nothing urgent
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants