Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Slimming down the error annotation and removing type/subtype support. #223

Merged
merged 1 commit into from
Feb 9, 2019

Conversation

erunion
Copy link
Owner

@erunion erunion commented Feb 9, 2019

The existing type/subtype system on @api-error for swapping in error strings doesn't always work out that great in real world usage, and in the Vimeo API we end up eschewing it completely for a fully custom error message.

This feature is super niche and it's not worth making this a configurable message because we'll still run into the cases of most instances not fitting properly within it.

So because of all that, we're removing this feature from @api-error annotations.

@erunion erunion added this to the v6.0: Freddy's Revenge milestone Feb 9, 2019
@erunion erunion merged commit 2534878 into v6-dev Feb 9, 2019
@erunion erunion deleted the deprecate-error-description-templates branch February 9, 2019 04:28
@erunion erunion mentioned this pull request Feb 9, 2019
8 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant