Codegen: Add support for optional maps (#60883)

This commit is contained in:
sam boyer
2023-01-03 02:12:48 -05:00
committed by GitHub
parent 3ceb3edcb9
commit 7fd1d5cef0
4 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ lineage: seqs: [
// TODO - it seems it's a team_member.permission, unlikely it should belong to the team kind
permission: #Permission @grafanamaturity(ToMetadata="kind", MaybeRemove)
// AccessControl metadata associated with a given resource.
accessControl: [string]: bool @grafanamaturity(ToMetadata="sys")
accessControl?: [string]: bool @grafanamaturity(ToMetadata="sys")
// Created indicates when the team was created.
created: int64 @grafanamaturity(ToMetadata="sys")
// Updated indicates when the team was updated.