Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: Add no-default-feature option #1092
feat: Add no-default-feature option #1092
Changes from 7 commits
6eae2b7
5a578b8
1801aa5
63c63ef
eb22b4f
9169083
8bc062c
3c6d447
aec2a34
cee5942
b015263
d85d9af
6d27c45
c9a3dc5
2b11c94
ce3d63e
ff03d59
d42171e
dc18fe1
271e5ea
9c99598
e0a7bae
9c51c3a
86e7789
195ae29
7661d8a
0414ac2
7f93887
04cdb23
29b1a6b
1616205
550d516
6d75bf9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation is not aligned with the code here. currently there is no deduplication, and a name feature will never use the default channels. what should it be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
true
inself.features(true)
includes the default feature.The function returns an
IndexSet
which deduplicates the channels.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes @baszalmstra. But default channels are also deduplicated though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mm, Im afraid I dont quite understand what you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See new proposed implementation @baszalmstra . I believe it keeps the project default channels at the back, but works whether or not the default feature is included in the environment. Let me know what you think!