Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
Markup field has to be referred to by pointer
Browse files Browse the repository at this point in the history
Even though it is just a string for now. We will later need to have struct built
around the string.
  • Loading branch information
isimluk committed Jan 13, 2020
1 parent b92feaf commit c74e7b2
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion metaschema/metaschema.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func (df *DefineField) GoName() string {
}

func (df *DefineField) RequiresPointer() bool {
return len(df.Flags) > 0
return len(df.Flags) > 0 || df.IsMarkup()
}

func (f *DefineField) GoComment() string {
Expand Down
4 changes: 2 additions & 2 deletions types/oscal/nominal_catalog/nominal_catalog.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c74e7b2

Please sign in to comment.