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 router to init function #158

Merged
merged 3 commits into from
Mar 1, 2022
Merged

add router to init function #158

merged 3 commits into from
Mar 1, 2022

Conversation

macrozone
Copy link
Contributor

in certain cases, you might require information from the router to initialize the SSR apollo-client.

E.g. if you need the locale of the router, so that you can pass that in the context of graphql-queries.

@macrozone
Copy link
Contributor Author

@lfades can you have a look?

@macrozone
Copy link
Contributor Author

@lfades friendly bump ^^

Copy link
Owner

@lfades lfades left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @macrozone thank you for the PR and sorry for the late review!

I updated the readme to include this change and it now looks good to me!

@lfades lfades merged commit 6bf2bef into lfades:master Mar 1, 2022
@chemicalkosek
Copy link

chemicalkosek commented Mar 5, 2022

Is this supposed to be a breaking change? I believe this update broke my router usage
Relevant issue: #181

@macrozone
Copy link
Contributor Author

Is this supposed to be a breaking change? I believe this update broke my router usage Relevant issue: #181

not intentionally, I'll check

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

Successfully merging this pull request may close these issues.

3 participants