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

cant serialize mongoose model object #53

Open
RezaErfani67 opened this issue Aug 24, 2019 · 7 comments
Open

cant serialize mongoose model object #53

RezaErfani67 opened this issue Aug 24, 2019 · 7 comments

Comments

@RezaErfani67
Copy link

image

@okuryu
Copy link
Collaborator

okuryu commented Aug 27, 2019

Please provide a repro for your problem.

@RezaErfani67
Copy link
Author

i have a file with all model of mongoose collections...
in my application user can change the model...
add new collection...
delete a collection and so on...
so this file should be change....
but there is another problem....
i ise cluster in my app...
thus all core of cpu should know about all models and track og changing them...
for this i force to seialize this object and save to file or database or ....
i need to serialize it

@okuryu
Copy link
Collaborator

okuryu commented Aug 27, 2019

This is the serialize-javascript project not related to the mongoose. You have to write a minimum example code can reproduce your problem of usage serialize-javascript library.

@RezaErfani67
Copy link
Author

RezaErfani67 commented Aug 27, 2019

dear friend...
my problem not related to mongoose.please read again...
i have an object that i cant serialize it....
what is this object?
it is a mongoose model object

@okuryu
Copy link
Collaborator

okuryu commented Aug 27, 2019

What object did you try to serialize?

@RezaErfani67
Copy link
Author

look at the picture on first post...
on the chrome console...
DefaultFlow object

@okuryu
Copy link
Collaborator

okuryu commented Aug 28, 2019

It's too difficult to confirm the problem from screenshot. Please write up a reproducible code.

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