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

Extract common value/option parsing logic, and trim whitespace. #52

Merged
merged 2 commits into from
Mar 24, 2017

Conversation

erunion
Copy link
Owner

@erunion erunion commented Mar 24, 2017

  • Extracts common enum value/option parsing logic, so we don't have variations of the same code in three places.
  • Adds enum format validation to the @api-options annotation parsing.
  • Trims away any unnecessary whitespace that may be present on enum values.

Fixes #51

@erunion erunion self-assigned this Mar 24, 2017
@erunion erunion merged commit 2613135 into master Mar 24, 2017
@erunion erunion deleted the enum-whitespace branch March 24, 2017 20:14
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.

1 participant