Skip to content

Hoist JSON Lines logic from EntryPoint.swift. #701

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Sep 17, 2024

This PR moves the logic that implements JSON Lines support (i.e. the code that strips newlines from JSON generated by Foundation) out of EntryPoint.swift so that it can be used by other callers.

This change was originally part of #697. I'm splitting it out into its own PR to make that one (both really) easier to read and understand.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This PR moves the logic that implements JSON Lines support (i.e. the code that
strips newlines from JSON generated by Foundation) out of EntryPoint.swift so
that it can be used by other callers.

This change was originally part of #697. I'm splitting it out into its own PR to
make that one (both really) easier to read and understand.
@grynspan grynspan added enhancement New feature or request tools integration Integration of swift-testing into tools/IDEs labels Sep 17, 2024
@grynspan grynspan self-assigned this Sep 17, 2024
@grynspan grynspan added this to the Swift 6.1 milestone Sep 17, 2024
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit 81a5ccb into main Sep 17, 2024
3 checks passed
@grynspan grynspan deleted the jgrynspan/hoist-json-lines-logic branch September 17, 2024 16:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request tools integration Integration of swift-testing into tools/IDEs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants