Skip to content

Conversation

@stefanadranca
Copy link
Collaborator

@stefanadranca stefanadranca commented Nov 28, 2023

Update StructuredSwiftRepresentation to the latest version from OpenAPI generator.

Motivation:

The latest version of the Code Renderer uses the Expression type for the left property of a VariableDescription, so we need to also update the StructuredSwiftRepresentation accordingly.

Result:

We will have the latest version of StructuredSwiftRepresentation for the new CodeGenLib.

…PI generator.

Motivation:

The latest version of the Code Renderer uses the Expression type for the `left` property of
a VariableDescription, so we need to also update the StructuredSwiftRepresentation accordingly.

Result:

We will have the latest version of StructuredSwiftRepresentation for the new CodeGenLib.
@stefanadranca stefanadranca changed the title Update StructuredSwiftRepresentation to the latest version from OpenA… Update StructuredSwiftRepresentation Nov 28, 2023
///
/// For example: `public`.
enum AccessModifier: String, Equatable, Codable {
public enum AccessModifier: String, Sendable, Equatable, Codable {
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should keep this internal

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should all of the structs and enums from this file be internal?

Copy link
Collaborator

Choose a reason for hiding this comment

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

They should be no more visible than internal, fine if some are fileprivate/private. There shouldn't be any public types though.

@glbrntt glbrntt enabled auto-merge (squash) November 29, 2023 11:06
@glbrntt glbrntt merged commit bd5af62 into grpc:main Nov 29, 2023
@glbrntt glbrntt added the version/v2 Relates to v2 label Dec 7, 2023
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