-
Notifications
You must be signed in to change notification settings - Fork 76
Pivot kdocs #1554
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
base: master
Are you sure you want to change the base?
Pivot kdocs #1554
Conversation
| @ExcludeFromSources | ||
| interface OPERATION | ||
|
|
||
| /** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to make it clearer this is a comment about RECEIVER and not some KDoc to include somewhere else I'd use "gray" comments for arguments
| * | ||
| * ### Create [Pivot] | ||
| * | ||
| * [**`pivot`**][pivot]**`(`**`inward: `[`Boolean`][Boolean]**` = true) { `**`pivotColumns: `[`PivotColumnsSelector`][PivotColumnsSelector]**` }`** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
` = true) { ` should likely be ` = true) { `
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remember the surrounding-space-trim rule
| * | ||
| * ### Reduce [Pivot] into [DataRow] | ||
| * | ||
| * [Pivot][Pivot]`.`[**`minBy`**][Pivot.minBy]**` { `**`column: `[`RowExpression`][RowExpression]**` }`** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
` { ` is correct. Will be trimmed to <space>{<space>
**` }`** has one space too many at the start. It will not be trimmed since it doesn't start ánd end with a space
| * | ||
| * ### Aggregate [Pivot] into [DataRow] | ||
| * | ||
| * [Pivot][Pivot]`.`[**`count`**][Pivot.count]**`() `** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useless space after ()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same below
| * `| `__`.`__[**`groupByOther`**][Pivot.groupByOther]**`()`** | ||
| * | ||
| * {@include [Indent]} | ||
| * ` \[ `__`.`__[**`default`**][PivotGroupBy.default]**`(`**`defaultValue`**`) `**`]` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how did you want this to render? The spaces at the start disappear in KDoc atm. If you wanted more indent, @include [DoubleIndent] :) but I don't think indent is needed here
Jolanrensen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll review more tomorrow :)
Closes #1525