Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions internal/framework/flex/autoflex.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const (
type autoFlexer interface {
convert(context.Context, path.Path, reflect.Value, path.Path, reflect.Value, fieldOpts) diag.Diagnostics
getOptions() AutoFlexOptions
handleXMLWrapperCollapse(context.Context, path.Path, reflect.Value, path.Path, reflect.Value, reflect.Type, reflect.Type, map[string]bool) diag.Diagnostics
}

// autoFlexValues returns the underlying `reflect.Value`s of `from` and `to`.
Expand Down Expand Up @@ -166,9 +167,10 @@ func autoflexTags(field reflect.StructField) (string, tagOptions) {
}

type fieldOpts struct {
legacy bool
omitempty bool
xmlWrapper bool
legacy bool
omitempty bool
xmlWrapper bool
xmlWrapperField string
}

// valueWithElementsAs extends the Value interface for values that have an ElementsAs method.
Expand Down
Loading
Loading