Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug printing in-memory state manager in REPL #27

Open
camsaul opened this issue Sep 25, 2020 · 1 comment
Open

bug printing in-memory state manager in REPL #27

camsaul opened this issue Sep 25, 2020 · 1 comment

Comments

@camsaul
Copy link
Member

camsaul commented Sep 25, 2020

metabase-enterprise.sso.integrations.saml> state-manager
Error printing return value (IllegalArgumentException) at clojure.lang.MultiFn/findAndCacheBestMethod (MultiFn.java:179).
Multiple methods in multimethod 'simple-dispatch' match dispatch value: class saml20_clj.state$in_memory_state_manager$reify__78851 -> interface clojure.lang.IDeref and interface pretty.core.PrettyPrintable, and neither is preferred

we need to add a preference to use the PrettyPrintable method for PPrint simple-dispatch

@simongray
Copy link

simongray commented Dec 22, 2020

(prefer-method print-method pretty.core.PrettyPrintable saml20-clj.state/StateManager)
(prefer-method print-method pretty.core.PrettyPrintable clojure.lang.IDeref)

This should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants