Skip to content

Conversation

@oskar1233
Copy link
Contributor

Short description

Adds some defensive config fetching in SSR renderer. Protects against incomplete config, e.g. after update.

Relates to develop (test version).

No upgrade steps required.

@pkarw pkarw requested a review from andrzejewsky November 5, 2019 12:36
Copy link
Collaborator

@pkarw pkarw left a comment

Choose a reason for hiding this comment

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

Not sure if it's necessary and required defense but in the end it's such a small change that's fine with me

@oskar1233
Copy link
Contributor Author

@pkarw It comes down to project's policy - personally I'd wrap every user's (developer's) input like this.

@andrzejewsky
Copy link
Contributor

@oskar1233 same here, please create this PR from release/v1.11.

Precisely in getFieldsToFilter method.
@oskar1233 oskar1233 force-pushed the feature/ssr-renderer-defense branch from 16e8ac2 to b3d22e2 Compare November 6, 2019 09:51
@oskar1233 oskar1233 changed the base branch from develop to release/v1.11 November 6, 2019 09:51
@oskar1233
Copy link
Contributor Author

@andrzejewsky Sorted here as well.

@andrzejewsky
Copy link
Contributor

@oskar1233 you have errors to fix, look into the build

@andrzejewsky andrzejewsky merged commit c80cf5a into vuestorefront:release/v1.11 Nov 22, 2019
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