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

Not Working Well on Server Side when using SSR #30

Open
JimmyLv opened this issue Aug 2, 2018 · 4 comments
Open

Not Working Well on Server Side when using SSR #30

JimmyLv opened this issue Aug 2, 2018 · 4 comments

Comments

@JimmyLv
Copy link

JimmyLv commented Aug 2, 2018

We are using SSR with Apollo client, as you can see the logging format is not clear and not stringify the [Array] and [Object] content:

image

@james-ff
Copy link

james-ff commented Sep 6, 2018

+1 I see the same

@twdrake-ap
Copy link

yeah would be nice to have a config option flag for ssr

@saerdnaer
Copy link

(note to self)
I simply used JSON.stringify() around the restult as a temporary workaround:

    logging.log("INIT", JSON.stringify(operation));
    logging.log("RESULT", JSON.stringify(result));

@viniciussbs
Copy link

@saerdnaer You can use JSON.stringify(object, null, 2) to have 2 spaces indentation.

image

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

5 participants