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

scope: Use an empty name for root #310

Merged
merged 1 commit into from
Jan 4, 2022
Merged

scope: Use an empty name for root #310

merged 1 commit into from
Jan 4, 2022

Conversation

abhinav
Copy link
Collaborator

@abhinav abhinav commented Jan 3, 2022

In the original discussions for Scope, we said that the root scope
(Container) will have an empty name, not "container".

PR #305 introduced Scope with the default name "container".
Proposing this as a resolution to that pending discussion.

Base automatically changed from abg/scope-tag to master January 3, 2022 23:56
Root scope should have an empty name, not a string like "container".
Cycle error will skip the `[scope "foo"]` for the root container.
@codecov
Copy link

codecov bot commented Jan 3, 2022

Codecov Report

Merging #310 (ccc076b) into master (97f49ca) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #310   +/-   ##
=======================================
  Coverage   98.46%   98.46%           
=======================================
  Files          19       19           
  Lines        1234     1234           
=======================================
  Hits         1215     1215           
  Misses         11       11           
  Partials        8        8           
Impacted Files Coverage Δ
scope.go 98.70% <ø> (-0.02%) ⬇️
cycle_error.go 100.00% <100.00%> (ø)

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 97f49ca...ccc076b. Read the comment docs.

@abhinav abhinav merged commit 5e5a20d into master Jan 4, 2022
@abhinav abhinav deleted the abg/graph-simpler branch January 4, 2022 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants