Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Add support for hidden field to group variables #2064

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

yogeshlonkar
Copy link
Contributor

No description provided.

@timofurrer timofurrer self-requested a review November 21, 2024 19:20
Copy link
Contributor

@timofurrer timofurrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yogeshlonkar thanks for the contribution 🤝

I've left some clarification questions similar to the ones I've left in the other PR #2065.

Back to you 🏓

group_variables.go Outdated Show resolved Hide resolved
@yogeshlonkar yogeshlonkar changed the title Add Hidden field to GroupVariable struct Add masked_and_hidden field to group variable create and get api Dec 3, 2024
GitLab has inconsistent naming of the filed for hidden variables.
It seems for keeping UI consistent, GitLab chose to introduce different
naming for the same field. This could have been easy handled in UI by
setting two variables on API request instead of introducing combined
field for UI.

I have added 2 test cases for create and update project API as per the
gitlab.com API that I also manually tested.
@yogeshlonkar yogeshlonkar changed the title Add masked_and_hidden field to group variable create and get api Add support for hidden field to group variables Dec 8, 2024
@RicePatrick
Copy link
Contributor

Thanks for fixing the models for group to align with the models for project. Merging so this is available during the migration :)

@RicePatrick RicePatrick dismissed timofurrer’s stale review December 9, 2024 22:35

Comments fixed as part of a subsequent commit to align to projects in separate PR

@RicePatrick RicePatrick merged commit 7f944b7 into xanzy:main Dec 9, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants