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

✨ Add support for Symbol keys in record #1321

Merged
merged 4 commits into from
Jan 6, 2021
Merged

✨ Add support for Symbol keys in record #1321

merged 4 commits into from
Jan 6, 2021

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jan 4, 2021

In a nutshell

Fixes #240

✔️ New feature
❌ Fix an issue
❌ Documentation improvement
❌ Other: please explain

(✔️: yes, ❌: no)

Potential impacts

No real impact expected except that record will now accept models containing symbols as keys.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fixes #240
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 4, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f16311e:

Sandbox Source
Vanilla Configuration
fast-check-examples Configuration

@codecov
Copy link

codecov bot commented Jan 4, 2021

Codecov Report

Merging #1321 (f16311e) into master (d5406c2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1321   +/-   ##
=======================================
  Coverage   98.76%   98.77%           
=======================================
  Files          89       89           
  Lines        2914     2928   +14     
  Branches      540      543    +3     
=======================================
+ Hits         2878     2892   +14     
  Misses         33       33           
  Partials        3        3           
Flag Coverage Δ
e2e-tests 89.75% <83.33%> (-0.23%) ⬇️
e2e-tests-10.x-Linux 89.75% <83.33%> (-0.16%) ⬇️
e2e-tests-10.x-Windows 87.87% <83.33%> (-0.05%) ⬇️
e2e-tests-10.x-macOS 89.71% <83.33%> (-0.20%) ⬇️
e2e-tests-12.x-Linux 89.75% <83.33%> (-0.16%) ⬇️
e2e-tests-12.x-Windows 87.73% <83.33%> (-0.32%) ⬇️
e2e-tests-12.x-macOS 89.75% <83.33%> (-0.16%) ⬇️
e2e-tests-14.x-Linux 89.75% <83.33%> (-0.23%) ⬇️
e2e-tests-14.x-Windows 87.90% <83.33%> (-0.15%) ⬇️
e2e-tests-14.x-macOS 89.71% <83.33%> (-0.23%) ⬇️
unit-tests 97.74% <100.00%> (+0.01%) ⬆️
unit-tests-10.x-Linux 97.71% <100.00%> (-0.03%) ⬇️
unit-tests-12.x-Linux 97.74% <100.00%> (+0.04%) ⬆️
unit-tests-14.x-Linux 97.71% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/check/arbitrary/RecordArbitrary.ts 100.00% <100.00%> (ø)
src/utils/stringify.ts 98.83% <0.00%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5406c2...f16311e. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 4, 2021

Give a try to 74d806e with:

yarn add https://pkg.csb.dev/dubzzz/fast-check/commit/74d806ef/fast-check
npm i https://pkg.csb.dev/dubzzz/fast-check/commit/74d806ef/fast-check

⚠️ Package might not be accessible yet. Wait for CodeSandbox.

⚠️ By running one of these commands you will install the package defined by the head of the PR. But, tests are run against the result of the merge of the PR, not against the head of the PR*. *If needed, you can install the package used for the tests by manually retrieving and installing the artifact bundle stored into GitHub Actions.

Useful links: Codeclimate, Codecov, CodeSandbox and GitHub Actions.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 4, 2021

Give a try to 4e430b9 with:

yarn add https://pkg.csb.dev/dubzzz/fast-check/commit/4e430b90/fast-check
npm i https://pkg.csb.dev/dubzzz/fast-check/commit/4e430b90/fast-check

⚠️ Package might not be accessible yet. Wait for CodeSandbox.

⚠️ By running one of these commands you will install the package defined by the head of the PR. But, tests are run against the result of the merge of the PR, not against the head of the PR*. *If needed, you can install the package used for the tests by manually retrieving and installing the artifact bundle stored into GitHub Actions.

Useful links: Codeclimate, Codecov, CodeSandbox and GitHub Actions.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2021

Give a try to 86bda94 with:

yarn add https://pkg.csb.dev/dubzzz/fast-check/commit/86bda94c/fast-check
npm i https://pkg.csb.dev/dubzzz/fast-check/commit/86bda94c/fast-check

⚠️ Package might not be accessible yet. Wait for CodeSandbox.

⚠️ By running one of these commands you will install the package defined by the head of the PR. But, tests are run against the result of the merge of the PR, not against the head of the PR*. *If needed, you can install the package used for the tests by manually retrieving and installing the artifact bundle stored into GitHub Actions.

Useful links: Codeclimate, Codecov, CodeSandbox and GitHub Actions.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2021

Give a try to f16311e with:

yarn add https://pkg.csb.dev/dubzzz/fast-check/commit/f16311ed/fast-check
npm i https://pkg.csb.dev/dubzzz/fast-check/commit/f16311ed/fast-check

⚠️ Package might not be accessible yet. Wait for CodeSandbox.

⚠️ By running one of these commands you will install the package defined by the head of the PR. But, tests are run against the result of the merge of the PR, not against the head of the PR*. *If needed, you can install the package used for the tests by manually retrieving and installing the artifact bundle stored into GitHub Actions.

Useful links: Codeclimate, Codecov, CodeSandbox and GitHub Actions.

@dubzzz dubzzz merged commit 2684269 into master Jan 6, 2021
@dubzzz dubzzz deleted the symbol-keys branch January 6, 2021 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Record must support Symbol as key
1 participant