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 testBuild API to ARS and clean up flag querying #1996

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stonar96
Copy link
Contributor

@stonar96 stonar96 commented Apr 7, 2023

  • Add testBuild API to ARS
  • Add interface(s) with common methods of ARS and FlagValueCalculator
  • Clean up lots of stuff related to the flag querying methods
  • Remove much duplicated code and docs by using the new interface(s)
  • Deprecate some unnecessary overloads for removal in WG 8
  • Fix PermissiveRegionSet returning DENY for the build flag

When the deprecated methods are removed, ARS (and subclasses), FlagValueCalculator and RegionQuery now have completely consistent methods for querying flags with the least code and docs duplication. Especially the docs of the different versions of the "same" methods have desynced over time a bit. The methods are now defined and documented in a central place (the interfaces). The convenience methods of RegionQuery now purely delegate to ARS, so I've removed their docs too and linked to ARS.

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.

1 participant