feat: basic object flags - #141
Merged
Merged
Conversation
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
…p literal Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
bbland1
commented
Jun 15, 2025
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
bbland1
commented
Jun 17, 2025
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
This reverts commit dfddf88. Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
bbland1
force-pushed
the
feat/basic-object-flags
branch
from
June 17, 2025 05:51
562c269 to
6591812
Compare
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
…alue Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
bbland1
marked this pull request as ready for review
June 19, 2025 07:43
kriscoleman
reviewed
Jun 20, 2025
kriscoleman
approved these changes
Jun 20, 2025
kriscoleman
left a comment
Collaborator
There was a problem hiding this comment.
thanks for the contribution @bbland1 , it's really great to see this feature go live.
I appreciate your engagement to tackle this and solve the nuances with c#!
![]()
beeme1mr
approved these changes
Jun 20, 2025
beeme1mr
left a comment
Member
There was a problem hiding this comment.
Wow, thanks! This is a great change. I left some minor feedback but it looks good to me.
From a Go perspective, would @sahidvelji and/or @erka you mind taking a look?
From a Python perspective, could @gruebel and/or @aepfli please take a look?
erka
approved these changes
Jun 20, 2025
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
sahidvelji
approved these changes
Jun 21, 2025
gruebel
approved these changes
Jun 22, 2025
gruebel
left a comment
Member
There was a problem hiding this comment.
nice work 🍻 I added one comment, but this is more a heads up and doesn't need immediate attention.
| self, | ||
| evaluation_context: Optional[EvaluationContext] = None, | ||
| flag_evaluation_options: Optional[FlagEvaluationOptions] = None, | ||
| ) -> object: |
Member
There was a problem hiding this comment.
with the next version (0.8.2) of the Python SDK this can be refined to
Suggested change
| ) -> object: | |
| ) -> typing.Union[Sequence[FlagValueType], typing.Mapping[str, FlagValueType]]: |
This was referenced Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR
map[string]anyto the language specific version addedUnsupportedFlagTypeupdated: still passed to each generator but empty to allow forobjectflags and keep the filtering logic originally established available for the possibility of any flag creation later onmake generate-docswas ranRelated Issues
Fixes #101
Notes
Follow-up Tasks
UnsupportedFlagTypeas a passed parameter for creating new generator to encourage to usage of all the flagsHow to test
go runto see new file made and manually confirmthemeCustomizationflag is therego test ./...