Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add godocs to KeepExternal
  • Loading branch information
jsoriano committed Jun 30, 2023
commit a0d794a3ca60f8b70ee121b0f6265764ccd9b912
3 changes: 3 additions & 0 deletions internal/fields/dependency_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ func asGitReference(reference string) (string, error) {

// InjectFieldsOptions allow to configure fields injection.
type InjectFieldsOptions struct {
// KeepExternal can be set to true to avoid deleting the `external` parameter
// of a field when resolving it. This helps keeping behaviours that depended
// in previous versions on lazy resolution of external fields.
KeepExternal bool

root string
Expand Down