Skip to content

Conversation

@philipgiuliani
Copy link
Contributor

Sumary of proposed changes

In my case I needed the qualities to be represented as string, because one of them is audiodescription.

I removed the Number() calls and replaced them with a new function called mapQualityUnit. It converts numbers to numbers, and keeps strings to be strings.

Task list

@friday
Copy link
Contributor

friday commented Apr 11, 2018

To me this seems like a complicated way to end up not knowing what the type is anyway. Would rather have it switching the type consistently to string, or not enforcing a type. Then instead adapting getBadge() and any other places relying on quality being a number.

PS: I'm not the maintainer, so you may want to wait for Sam's opinions

Copy link

@jacoz126 jacoz126 left a comment

Choose a reason for hiding this comment

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

.

@friday
Copy link
Contributor

friday commented May 1, 2018

@jacoz126 Learn how to solve your own problems instead of being our problem.

@philipgiuliani
Copy link
Contributor Author

philipgiuliani commented May 30, 2018

I close this in favour of a different approach I'm working on.

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