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

skip any dynamic snippets in #flattenSnippets #107

Merged
merged 1 commit into from
Dec 13, 2018
Merged

Conversation

philippschulte
Copy link
Member

fix #98

To fix this issue there is no need to add the dynamic field to the snippet schema like proposed in hynd@9bfd203. It's only necessary to prevent adding dynamic snippets to the list of all snippets. That way dynamic snippets will be ignored if there are any changes in the pipeline.

I wanted to avoid having any references to dynamic snippets in the source code because the provider only supports regular snippets. This won't change until the Fastly API provides the content for dynamic snippets.

Prevents adding dynamic snippets to the list of all snippets. Therefore the provider won't delete
any dynamic snippets if there are any changes in the pipeline.

fix #98
@ghost ghost added the size/XS label Dec 13, 2018
@philippschulte philippschulte changed the title fix(snippets): skip any dynamic snippets in #flattenSnippets skip any dynamic snippets in #flattenSnippets Dec 13, 2018
@philippschulte philippschulte merged commit 15f46e4 into master Dec 13, 2018
@philippschulte philippschulte deleted the issue-98 branch December 13, 2018 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants