You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting error when updated the casbin version to latest
# github.com/pckhoi/casbin-pgx-adapter ../../../../go/pkg/mod/github.com/pckhoi/casbin-pgx-adapter@v1.0.1/adapter.go:347:50: cannot use persist.LoadPolicyLine (value of type func(line string, m model.Model) error) as func(string, model.Model) value in argument to a.loadFilteredPolicy
Although it was already discussed in #6 and by downgrading to the v2.54.0 it is working.
I am looking for fixed with latest version of casbin.
Thanks
The text was updated successfully, but these errors were encountered:
@hsluoyz earlier I was using the older version of casbin v2.54.0 and casbin-pgx-adapter v1.0.1, was working fine but when I do update, the casbin updates to v2.68.0 and casbin-pgx-adapter remain on the same version v1.0.1. This causes the issue.
Now updated the both casbin to v2.68.0 and using casbin-pgx-adapter/v3 working fine.
Getting error when updated the casbin version to latest
# github.com/pckhoi/casbin-pgx-adapter ../../../../go/pkg/mod/github.com/pckhoi/casbin-pgx-adapter@v1.0.1/adapter.go:347:50: cannot use persist.LoadPolicyLine (value of type func(line string, m model.Model) error) as func(string, model.Model) value in argument to a.loadFilteredPolicy
Although it was already discussed in #6 and by downgrading to the v2.54.0 it is working.
I am looking for fixed with latest version of casbin.
Thanks
The text was updated successfully, but these errors were encountered: