Skip to content

Commit

Permalink
Fix reported version & map type usage as user object
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Dec 30, 2023
1 parent 45090ff commit 11b9c43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func newUserTypeInfo(userType reflect.Type) (*userTypeInfo, error) {
if userType == nil {
return nil, nil
}
if userType == anyMapType {
if userType.AssignableTo(anyMapType) {
return &userTypeInfo{
getAttribute: func(v reflect.Value, attr string) interface{} {
return v.Interface().(map[string]interface{})[attr]
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package configcat

const version = "9.0.0"
const version = "9.0.2"

0 comments on commit 11b9c43

Please sign in to comment.