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

A few small tweaks to make consistent with the rest of the API #84

Merged
merged 1 commit into from
Aug 31, 2018

Conversation

hynd
Copy link
Contributor

@hynd hynd commented Aug 31, 2018

Sorry, more breaking changes for VCL Snippets... :(

  • Make Snippet Type its own type vs a string (like Headers, Cache and Request settings)
  • SnippetName -> Name
  • SnippetID -> ID (like ACL's, though the underlying Fastly API is snippet_id for Dynamic Snippets)

Also use some of the pre-existing, generic error types rather than creating ones specific to Snippets.

* Make Snippet "Type" a type (like Headers, Cache and Request settings)
* SnippetName -> Name
* SnippetID -> ID

Also use some of the generic error types.
@sethvargo sethvargo merged commit 91f1282 into fastly:master Aug 31, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants