Skip to content

Conversation

@stefanadranca
Copy link
Collaborator

Motivation:

We’ll need to be able to represent the code to be generated as structured Swift types for the new Codegen library. This is effectively what swift-syntax provides but we can’t (at time of writing) take it as a dependency because of its unstable API. Swift OpenAPI Generator has already provided a number of these types as its StructuedSwiftRepresentation.

Modifications:

  • Copied StructuredSwiftRepresentation.swift inside the Codegen library module
  • Mentioned the usage in NOTICES.txt

Result:

Codegen library will have a representation of the code to generate as structured Swift types.

Motivation:

We’ll need to be able to represent code to generate as structured Swift types for the new Codegen library.
This is effectively what swift-syntax provides but we can’t (at time of writing) take it as a dependency
because of its unstable API. Swift OpenAPI Generator has already provided a number of these types as its StructuedSwiftRepresentation.

Modifications:

- Copied StructuredSwiftRepresentation.swift inside the Codegen library module
- Mentioned the usage in NOTICES.txt

Result:

Codegen library will have a representation of the code to generate as structured Swift types.
@glbrntt glbrntt added the version/v2 Relates to v2 label Nov 27, 2023
@glbrntt glbrntt merged commit 688287c into grpc:main Nov 27, 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