-
Notifications
You must be signed in to change notification settings - Fork 664
Feature gate [ClientVisibilityFilter] in C# #2556
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
Conversation
44148d0 to
6e71a5a
Compare
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
crates/bindings-csharp/Codegen/Module.cs:834
- [nitpick] Consider renaming 'rlsFeatureFlag' to a more descriptive name such as 'isClientVisibilityEnabled' to improve clarity.
var rlsFeatureFlag = context.CompilationProvider.Select((compilation, _) =>
8f5b44a to
50b100e
Compare
kazimuth
left a comment
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.
Looks good, this looks like the right way to do this.
Emits a compiler warning if the STDB_UNSTABLE flag is not disabled
50b100e to
c62048b
Compare
Description of Changes
Places the
[ClientVisibilityFilter]behind theSTDB_UNSTABLEexperimental feature flag. Will emit a compiler warning unless the following is added to the module fileAPI and ABI breaking changes
None
Expected complexity level and risk
0
Testing
The build failed until I enabled
STDB_UNSTABLEin thesdk-test-csmodule.