Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Sep 18, 2024

Motivation:

In v2 we've predominantly used 'max' instead of 'maximum' and 'config' instead of 'configuration'. We should apply these consistently.

Modifications:

  • Replaces occurrences of 'maximum' with 'max', and 'configuration' with 'config'.

Result:

More consistent naming

@glbrntt glbrntt requested a review from gjcairo September 18, 2024 09:34
@glbrntt glbrntt added the version/v2 Relates to v2 label Sep 18, 2024
/// the server code translation or the client code translation.
protocol SpecializedTranslator {

/// The ``SourceGenerator.Configuration.AccessLevel`` object used to represent the visibility level used in the generated code.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Docs are outdated here. Would you mind trying to build docs to see which other references may have broken?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, good catch. We should add a docc CI check as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, these were missed because DocC by default only checks public symbols. You can change that to internal if you use the docc-plugin (e.g. swift package generate-documentation --target GRPCCore --symbol-graph-minimum-access-level internal).

This surfaced a fair few issues with internal docs. I fixed a few, and ones introduced by this change, but I think we should tackle the rest separately.

Motivation:

In v2 we've predominantly used 'max' instead of 'maximum' and 'config'
instead of 'configuration'. We should apply these consistently.

Modifications:

- Replaces occurrences of 'maximum' with 'max', and 'configuration' with
  'config'.

Result:

More consistent naming
@glbrntt glbrntt requested a review from gjcairo September 18, 2024 15:14
@glbrntt glbrntt enabled auto-merge (squash) September 19, 2024 15:24
@glbrntt glbrntt merged commit 20269e0 into grpc:main Sep 19, 2024
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version/v2 Relates to v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants