Skip to content

Embedded Structs don't work #30

@Smithx10

Description

@Smithx10

When embedding structs there are parts of the library that fall over

For example:

if len(paginationOptions.KeySet) > 0 {
			var values = make([]any, len(results))
			lastResult := results[len(results)-1]
			for i, c := range paginationOptions.KeySet {
				values[i] = reflect.ValueOf(lastResult).FieldByName(c).Interface()
			}
			p.values = values
		} else {

https://github.com/roneli/goqux/blob/main/execute.go#L107

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions