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

Add toJSON method to FeathersVuexModel class #179

Closed
2 tasks
NickBolles opened this issue Nov 14, 2018 · 3 comments
Closed
2 tasks

Add toJSON method to FeathersVuexModel class #179

NickBolles opened this issue Nov 14, 2018 · 3 comments

Comments

@NickBolles
Copy link
Contributor

Steps to reproduce

  • Tell us what broke. The more detailed the better.
  • If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc.

I'm not exactly sure what is causing this, besides that I'm doing SS authentication, and trying to store the

‼ warn Cannot stringify arbitrary non-POJOs FeathersVuexModel

I think this could be resolved by adding a toJSON method on the class. Plus in-general it's a good practice.

nuxt-contrib/devalue#1

@DreaMinder
Copy link

So is this resolved by adding toJSON? Because I still got warnings
"feathers-vuex": "^1.6.2",

@NickBolles
Copy link
Contributor Author

@DreaMinder I'm not sure that there's been another release to non since this change
@marshallswain do you know?

@marshallswain
Copy link
Member

Lots of them in the pre channel

npm i feathers-vuex@pre

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

3 participants