close
The Wayback Machine - https://web.archive.org/web/20201027230157/https://github.com/tonsky/datascript/issues/367
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

Use `datascript.transit` import data Error in production #367

Open
chanshunli opened this issue Oct 6, 2020 · 2 comments
Open

Use `datascript.transit` import data Error in production #367

chanshunli opened this issue Oct 6, 2020 · 2 comments

Comments

@chanshunli
Copy link

@chanshunli chanshunli commented Oct 6, 2020

image

(defn import-datascript-data
  [stri]
  (d/reset-conn! dsdb ^js (dt/read-transit-str stri)))
@chanshunli
Copy link
Author

@chanshunli chanshunli commented Oct 6, 2020

My datascript version is:

                 datascript                  {:mvn/version "0.18.13"}
                 datascript-transit          {:mvn/version "0.3.0"}
@chanshunli chanshunli closed this Oct 6, 2020
@chanshunli chanshunli reopened this Oct 6, 2020
@tonsky
Copy link
Owner

@tonsky tonsky commented Oct 6, 2020

Can you (prn stri) and show me the output?

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.