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: Rename Identity to Identifier #308

Merged
merged 18 commits into from
Dec 17, 2020

Conversation

simonas-notcat
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Dec 17, 2020

Codecov Report

Merging #308 (4eba10b) into beta (a5a0670) will not change coverage.
The diff coverage is 87.35%.

@@           Coverage Diff           @@
##             beta     #308   +/-   ##
=======================================
  Coverage   68.21%   68.21%           
=======================================
  Files          62       62           
  Lines        1504     1504           
  Branches      237      237           
=======================================
  Hits         1026     1026           
  Misses        382      382           
  Partials       96       96           

Copy link
Member

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

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

I think some of the renames make sense but for the others I would either use a different name or not rename at all.

The main reason is that in our case we're not dealing only with identifier strings but with objects with multiple properties, one of which is the identifier (did)

Please take a look at the suggestions.
Also, I think we could use some input from @awoie here as well.

__tests__/localAgent.test.ts Outdated Show resolved Hide resolved
__tests__/localAgent.test.ts Outdated Show resolved Hide resolved
__tests__/localAgent.test.ts Outdated Show resolved Hide resolved
__tests__/shared/handleSdrMessage.ts Outdated Show resolved Hide resolved
packages/daf-cli/default/client.yml Outdated Show resolved Hide resolved
packages/daf-cli/default/client.yml Show resolved Hide resolved
packages/daf-cli/default/default.yml Outdated Show resolved Hide resolved
__tests__/localAgent.test.ts Outdated Show resolved Hide resolved
__tests__/restAgent.test.ts Outdated Show resolved Hide resolved
Copy link
Member

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

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

looks good

@mirceanis mirceanis merged commit 7812e51 into beta Dec 17, 2020
@mirceanis mirceanis deleted the feature/rename-identity-to-identifier branch December 17, 2020 17:31
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.

None yet

2 participants