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

Replace applicable types of 'number' to 'integer' #1571

Merged
merged 3 commits into from
Aug 28, 2018

Conversation

turt2live
Copy link
Member

Rendered: see 'docs' status check


number implies/represents a float where integer does not.

The only remaining type: number in the project appear on power levels: those have been left untouched pending clarification.

Fixes #746

@turt2live turt2live requested a review from a team August 27, 2018 03:31
@turt2live turt2live added this to In review (just the PRs) in August 2018 r0 via automation Aug 27, 2018
`number` implies/represents a float where `integer` does not.

The only remaining `type: number` in the project appear on power levels: those have been left untouched pending clarification.

Fixes matrix-org#746
@ara4n
Copy link
Member

ara4n commented Aug 28, 2018

lgtm, except we definitely need to spec PLs as integers.

August 2018 r0 automation moved this from In review (just the PRs) to Reviewer approved Aug 28, 2018
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

LGTM.

If there were any doubt about PLs having to be integers: PLs go in events, which means they must be representable in canonicaljson, which forbids floats.

@turt2live turt2live merged commit 6cdb463 into matrix-org:master Aug 28, 2018
August 2018 r0 automation moved this from Reviewer approved to Done (this list will be incomplete) Aug 28, 2018
@turt2live turt2live deleted the travis/general/number-to-int branch August 28, 2018 13:40
turt2live added a commit to turt2live/matrix-doc that referenced this pull request Aug 28, 2018
This was accidentally changed in matrix-org#1571 and appears to be the only instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
August 2018 r0
  
Done (this list will be incomplete)
Development

Successfully merging this pull request may close these issues.

None yet

3 participants