Skip to content

Field Policies not parsing because of failed type conversion #265

@CodeShellDev

Description

@CodeShellDev

Description

type ACCESS struct {             // ⬇️ ain't no way that this parses
    FIELD_POLICIES		t.Opt[map[string]FPolicies] `koanf:"fieldpolicies"`
}

func (splitter *FPolicies) UnmarshalMapstructure(raw any) error {
    // should be map ⬇️
    slice, ok := raw.([]any)
    // ...
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority/highSomething is of high priorityscale/smallThis is a small change

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions