generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle experiment tag and pointers in reflect
See chainguard-dev/apko#1453 Since GID is optional and 0 is a valid value, we needed a way to distinguish between unset and 0, so GID became a pointer. This broke the reflect code (labeled HACK) that punted on pointers. I've updated that code to handle pointers but also to ignore any fields marked with `apko:"experimental"` because I don't want to pollute the schema with them. Signed-off-by: Jon Johnson <[email protected]>
- Loading branch information
1 parent
66212a8
commit b2ead03
Showing
3 changed files
with
91 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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